From: Peter Korsgaard Date: Sat, 3 Oct 2009 20:40:12 +0000 (+0200) Subject: lua: only install headers if BR2_HAVE_DEVFILES is enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1bce5051b7220ac14d5ba55ee6fb7fd96f62585;p=buildroot.git lua: only install headers if BR2_HAVE_DEVFILES is enabled Signed-off-by: Peter Korsgaard --- diff --git a/package/lua/lua.mk b/package/lua/lua.mk index f80f28b045..aeb6c82850 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