From d1bce5051b7220ac14d5ba55ee6fb7fd96f62585 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 3 Oct 2009 22:40:12 +0200 Subject: [PATCH] lua: only install headers if BR2_HAVE_DEVFILES is enabled Signed-off-by: Peter Korsgaard --- package/lua/lua.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2