lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


----- Original Message ----- From: "Doug Currie" <doug.currie@gmail.com>
Subject: Re: luac and import library for dll are not built (mingw)


Right, and you can accomplish this simply by changing the
mingw target in src/Makefile to

mingw:
 $(MAKE) "LUA_A=lua51.dll" "LUA_T=lua.exe" "LUAC_T=luac.exe" \
"AR=$(CC) -shared -Wl,--export-all-symbols -o" "RANLIB=strip --strip-unneeded"
 "MYCFLAGS=-DLUA_BUILD_AS_DLL" "MYLIBS=" "MYLDFLAGS=-s" all


Yes, this is cleaner and shorter !