summaryrefslogtreecommitdiffstats
path: root/package/lua/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/lua/Makefile')
-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" \