aboutsummaryrefslogtreecommitdiffstats
path: root/package/lua
diff options
context:
space:
mode:
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 2e1348f1c1..30eac84cc7 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" \