You've already forked MINGW-packages
mirror of
https://github.com/encounter/MINGW-packages.git
synced 2026-03-30 11:29:58 -07:00
12 lines
440 B
Diff
12 lines
440 B
Diff
--- src/Makefile.orig 2015-04-07 11:24:43.263584500 +0200
|
|
+++ src/Makefile 2015-04-07 11:27:47.791263800 +0200
|
|
@@ -114,7 +114,7 @@
|
|
|
|
mingw:
|
|
$(MAKE) "LUA_A=lua53.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
|
|
|