lsqlite3: actually link against libsqlite3, fixes segfault when accessing sqlite3...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 23 Jun 2011 14:23:31 +0000 (14:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 23 Jun 2011 14:23:31 +0000 (14:23 +0000)
SVN-Revision: 27263

lang/lsqlite3/Makefile

index dbed0cf4ad8058e78803947053061efb69fc49ec..b5e15d3f2dbcc510d1fbb8c433ec5e22573a9920 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009-2010 OpenWrt.org
+# Copyright (C) 2009-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lsqlite3
 PKG_VERSION:=7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://luaforge.net/frs/download.php/4472
@@ -35,7 +35,7 @@ endef
 
 TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS) -std=c99
 
-TARGET_LDFLAGS += -llua
+TARGET_LDFLAGS += -llua -lsqlite3
 
 MAKE_FLAGS += \
        CC="$(TARGET_CC)" \