lua-users home
lua-l archive

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


Currently, when compiling lua-5.2.0 work2 with mingw, only the DLL is built. It would be better to have the import and static library if one wants to use the DLL in a lib or program.

When I build a library with mingw, I usually do that in Makefile (:

$(AR) $(ARFLAGS) $@ $(MY_O)

$(CC) -shared -o $@ \
-Wl,-s \
-Wl,--out-implib=liblua.dll.a \
-Wl,--export-all-symbols \
-Wl,--enable-auto-import \
Would it be possible to do that (well, something similar, at least) for lua 5.2 with mingw ?

thank you

Vincent Torri