summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 20:40:12 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2009-10-03 20:40:12 (GMT)
commitd1bce5051b7220ac14d5ba55ee6fb7fd96f62585 (patch)
tree145ce7d1dae794258fb0f49f1b74e4f6d1625af5
parente008caa06c4cdc78a0b3cd61e6269ca72fdbdcb7 (diff)
downloadbuildroot-d1bce5051b7220ac14d5ba55ee6fb7fd96f62585.tar.gz
buildroot-d1bce5051b7220ac14d5ba55ee6fb7fd96f62585.tar.bz2
lua: only install headers if BR2_HAVE_DEVFILES is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 f80f28b..aeb6c82 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