26 lines
770 B
Diff
26 lines
770 B
Diff
From cefccadeb2dc679b23e9c63ba83b395a65ee3579 Mon Sep 17 00:00:00 2001
|
|
From: Ray Donnelly <mingw.android@gmail.com>
|
|
Date: Mon, 15 Feb 2021 17:42:04 +0100
|
|
Subject: [PATCH 2/3] Add -Wl,--out-implib,liblua.dll.a to AR
|
|
|
|
---
|
|
src/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/Makefile b/src/Makefile
|
|
index b495b55..b3b84a7 100644
|
|
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -133,7 +133,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 -Wl,--out-implib,liblua.dll.a -o" "RANLIB=strip --strip-unneeded" \
|
|
"SYSCFLAGS=-DLUA_BUILD_AS_DLL" "SYSLIBS=" "SYSLDFLAGS=-s" lua.exe
|
|
$(MAKE) "LUAC_T=luac.exe" luac.exe
|
|
|
|
--
|
|
2.30.0.windows.2
|
|
|