lua: only install headers if BR2_HAVE_DEVFILES is enabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Oct 2009 20:40:12 +0000 (22:40 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Oct 2009 20:40:12 +0000 (22:40 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/lua/lua.mk

index f80f28b045452fd3203f2d14681f58fe9ed9627b..aeb6c82850b9ccf46ffa816773aab0c96ebbb036 100644 (file)
@@ -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