summaryrefslogtreecommitdiffstats
path: root/package/lua
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-04 17:48:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-04 17:48:26 +0000
commitec91a20cb7e69ed890497111cfd274e360abe499 (patch)
treebab1eb4e0ed417beb4764e44b987cc5f34db02d6 /package/lua
parent5cc93917b7c86dd1535899f4cfa6b0bee938c057 (diff)
fix lua compile configuration error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11047 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua')
-rw-r--r--package/lua/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 2e1348f1c..30eac84cc 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -87,6 +87,8 @@ endef
define Build/Configure
endef
+TARGET_CFLAGS += -DLUA_USE_LINUX
+
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CROSS)gcc" \