| 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 |
| @@ -105,7 +105,7 @@ |
| |
| mingw: |
| $(MAKE) "LUA_A=lua51.dll" "LUA_T=lua5.1.exe" \ |
| - "AR=$(CC) -shared -o" "RANLIB=strip --strip-unneeded" \ |
| + "AR=$(CC) -shared -Wl,--out-implib,liblua5.1.dll.a -o" "RANLIB=strip --strip-unneeded" \ |
| "MYCFLAGS=-DLUA_BUILD_AS_DLL" "MYLIBS=" "MYLDFLAGS=-s" lua5.1.exe |
| $(MAKE) "LUAC_T=luac5.1.exe" luac5.1.exe |
| |
| -- |
| 2.30.0.windows.2 |