[packages] lsqlite3: fix compilation, set INCS & LIBS, pass UNAME to prevent it from being guessed from the host
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20435 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
283140a355
commit
001ad83589
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2009 OpenWrt.org
|
# Copyright (C) 2009-2010 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -39,13 +39,12 @@ TARGET_LDFLAGS += -llua
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
SQLITE3INC="$(STAGING_DIR)/usr/include/" \
|
CC="$(TARGET_CC)" \
|
||||||
SQLITE3LIB="$(STAGING_DIR)/usr/lib/" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
LUAINC="$(TARGET_CPPFLAGS)" \
|
INCS="$(TARGET_CPPFLAGS)" \
|
||||||
LUALIB="$(TARGET_LDFLAGS)" \
|
LIBS="$(TARGET_LDFLAGS)" \
|
||||||
LIBS="-shared $(TARGET_LDFLAGS)" \
|
SHFLAGS="-shared" \
|
||||||
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
UNAME="Linux"
|
||||||
LD="$(TARGET_CROSS)ld -shared"
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/lsqlite3/install
|
define Package/lsqlite3/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user