[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [PATCH] Add a Makefile variable to override the strip tool
- From: Marvin Scholz <epirat07@...>
- Date: Tue, 9 Nov 2021 19:46:54 +0100
---
src/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index f78c0b8..78d79aa 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -15,6 +15,7 @@ AR= ar rcu
RANLIB= ranlib
RM= rm -f
UNAME= uname
+STRIP= strip
SYSCFLAGS=
SYSLDFLAGS=
@@ -130,7 +131,7 @@ Darwin macos macosx:
mingw:
$(MAKE) "LUA_A=lua54.dll" "LUA_T=lua.exe" \
- "AR=$(CC) -shared -o" "RANLIB=strip --strip-unneeded" \
+ "AR=$(CC) -shared -o" "RANLIB=$(STRIP) --strip-unneeded" \
"SYSCFLAGS=-DLUA_BUILD_AS_DLL" "SYSLIBS=" "SYSLDFLAGS=-s" lua.exe
$(MAKE) "LUAC_T=luac.exe" luac.exe
--
2.33.0