Skip to content
Snippets Groups Projects
Commit e0ec9fa2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

no more dllinit.o usage

parent 80fe5059
No related branches found
No related tags found
No related merge requests found
......@@ -66,11 +66,13 @@ libcurl.a: $(libcurl_a_OBJECTS) $(libcurl_a_DEPENDENCIES)
$(RANLIB) libcurl.a
$(STRIP) $@
DLLINITOBJ =
# 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) $@
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) $@
# remove the last line above to keep debug info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment