From 92607eba41f413abc664698d70ee9be242932c43 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 3 Aug 2019 14:55:21 +0200 Subject: [PATCH] - lua: align target to patches --- make/target-lua.mk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/make/target-lua.mk b/make/target-lua.mk index e6957eb2..204b1d97 100644 --- a/make/target-lua.mk +++ b/make/target-lua.mk @@ -24,18 +24,14 @@ $(D)/lua: $(D)/ncurses $(ARCHIVE)/$(LUA_SOURCE) | $(TARGET_DIR) $(UNTAR)/$(LUA_SOURCE) $(CHDIR)/$(LUA_TMP); \ $(call apply_patches, $(LUA_PATCH)); \ - sed -i 's/^V=.*/V= $(LUA_ABIVER)/' etc/lua.pc; \ - sed -i 's/^R=.*/R= $(LUA_VER)/' etc/lua.pc; \ $(MAKE) linux \ PKG_VERSION=$(LUA_VER) \ $(MAKE_OPTS) \ AR="$(TARGET_AR) rcu" \ LDFLAGS="$(TARGET_LDFLAGS)" \ ; \ - $(MAKE) install INSTALL_TOP=$(TARGET_DIR) - install -D -m 0755 $(BUILD_TMP)/$(LUA_TMP)/src/liblua.so.$(LUA_VER) $(TARGET_LIB_DIR)/liblua.so.$(LUA_VER) - ln -sf liblua.so.$(LUA_VER) $(TARGET_LIB_DIR)/liblua.so - install -D -m 0644 $(BUILD_TMP)/$(LUA_TMP)/etc/lua.pc $(PKG_CONFIG_PATH)/lua.pc + $(MAKE) install INSTALL_TOP=$(TARGET_DIR); \ + $(MAKE) pc > $(PKG_CONFIG_PATH)/lua.pc $(REWRITE_PKGCONF)/lua.pc rm -rf $(TARGET_DIR)/bin/luac $(REMOVE)/$(LUA_TMP)