[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: lua 5.2 : modifying the way lua lib is built with mingw
- From: Vincent Torri <vincent.torri@...>
- Date: Sun, 21 Mar 2010 09:18:44 +0100
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 (:
$(STATICLIB): $(MY_O)Would it be possible to do that (well, something similar, at least) for lua 5.2 with mingw ?
$(AR) $(ARFLAGS) $@ $(MY_O)
$(CC) -shared -o $@ \