summaryrefslogtreecommitdiff
path: root/package/lua
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 22:40:12 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 22:40:12 +0200
commitd1bce5051b7220ac14d5ba55ee6fb7fd96f62585 (patch)
tree145ce7d1dae794258fb0f49f1b74e4f6d1625af5 /package/lua
parente008caa06c4cdc78a0b3cd61e6269ca72fdbdcb7 (diff)
lua: only install headers if BR2_HAVE_DEVFILES is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lua')
-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