Files
2015-04-07 11:54:17 +02:00

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