From 8a446f82329ce6b02f0df7904fa424e93efb576c Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 29 Jul 2015 14:16:09 +0200 Subject: testing/lua-sqlite: link to sqlite --- testing/lua-sqlite/APKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testing/lua-sqlite/APKBUILD') diff --git a/testing/lua-sqlite/APKBUILD b/testing/lua-sqlite/APKBUILD index 2100b61d47..4996beeed7 100644 --- a/testing/lua-sqlite/APKBUILD +++ b/testing/lua-sqlite/APKBUILD @@ -4,10 +4,10 @@ pkgname=lua-sqlite pkgver=0.9.3 _realver=fsl09w _luaversions="5.1 5.2 5.3" -pkgrel=0 +pkgrel=1 pkgdesc="Sqlite3 Binding for Lua" url="http://lua.sqlite.org/index.cgi/home" -arch="noarch" +arch="all" license="MIT" depends="" depends_dev="" @@ -47,13 +47,13 @@ package() { _split() { local _ver="$1" - arch="all" cd "$srcdir"/$pkgname-$_ver || return 1 pkgdesc="$pkgdesc (Lua $_ver)" install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" ${CC:-gcc} ${CFLAGS} $(pkg-config --cflags sqlite3) \ $(pkg-config --cflags lua$_ver) -shared -fPIC \ - -DLSQLITE_VERSION=\"$pkgver\" -o lsqlite3.so lsqlite3.c || return 1 + -DLSQLITE_VERSION=\"$pkgver\" -o lsqlite3.so lsqlite3.c \ + $(pkg-config --libs sqlite3) || return 1 install -Dm755 lsqlite3.so \ "$subpkgdir"/usr/lib/lua/$_ver/lsqlite3.so || return 1 } -- cgit v1.2.3