summaryrefslogtreecommitdiff
path: root/package/lua/lua.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/lua/lua.mk')
-rw-r--r--package/lua/lua.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index f80f28b04..aeb6c8285 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -55,7 +55,7 @@ $(TARGET_DIR)/usr/bin/luac: $(STAGING_DIR)/usr/bin/luac
lua-bins: $(TARGET_DIR)/usr/bin/lua $(TARGET_DIR)/usr/bin/luac
-lua-libs: $(TARGET_DIR)/usr/lib/liblua.a
+lua-libs: $(if $(BR2_HAVE_DEVFILES),$(TARGET_DIR)/usr/lib/liblua.a)
lua: readline ncurses lua-bins lua-libs