summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lua.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.mk b/src/lua.mk
index 8ff1ed2..f2416d3 100644
--- a/src/lua.mk
+++ b/src/lua.mk
@@ -23,15 +23,15 @@ define $(PKG)_BUILD
INSTALL_TOP='$(PREFIX)/$(TARGET)' \
CC='$(TARGET)-gcc' \
AR='$(TARGET)-ar rcu' \
+ RANLIB='$(TARGET)-ranlib' \
a
$(MAKE) -C '$(1)' -j 1 \
INSTALL_TOP='$(PREFIX)/$(TARGET)' \
INSTALL_BIN='$(1)/noinstall' \
INSTALL_MAN='$(1)/noinstall' \
TO_BIN='lua.h' \
- RANLIB='$(TARGET)-ranlib' \
INSTALL='$(INSTALL)' \
- install ranlib
+ install
$(SED) -i 's,^prefix=.*,prefix=$(PREFIX)/$(TARGET),' '$(1)/etc/lua.pc'
$(INSTALL) -m644 '$(1)/etc/lua.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/lua.pc'