mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
no more dllinit.o usage
This commit is contained in:
parent
80fe50590f
commit
e0ec9fa294
@ -66,11 +66,13 @@ libcurl.a: $(libcurl_a_OBJECTS) $(libcurl_a_DEPENDENCIES)
|
|||||||
$(RANLIB) libcurl.a
|
$(RANLIB) libcurl.a
|
||||||
$(STRIP) $@
|
$(STRIP) $@
|
||||||
|
|
||||||
|
DLLINITOBJ =
|
||||||
|
|
||||||
# remove the last line above to keep debug info
|
# remove the last line above to keep debug info
|
||||||
|
|
||||||
libcurl.dll libcurldll.a: libcurl.a libcurl.def dllinit.o
|
libcurl.dll libcurldll.a: libcurl.a libcurl.def $(DLLINITOBJ)
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
dllwrap --dllname $@ --output-lib libcurldll.a --export-all --def libcurl.def $(libcurl_a_LIBRARIES) dllinit.o $(DLL_LIBS) -lwsock32 -lws2_32 -lwinmm
|
dllwrap --dllname $@ --output-lib libcurldll.a --export-all --def libcurl.def $(libcurl_a_LIBRARIES) $(DLLINITOBJ) $(DLL_LIBS) -lwsock32 -lws2_32 -lwinmm
|
||||||
$(STRIP) $@
|
$(STRIP) $@
|
||||||
|
|
||||||
# remove the last line above to keep debug info
|
# remove the last line above to keep debug info
|
||||||
|
Loading…
Reference in New Issue
Block a user