summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-11-15 14:13:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-11-15 14:13:05 +0000
commite0ec9fa294691cf4f54314fe87931b5187a63c11 (patch)
tree284d890aca9e4ea147fdd7a5bfec52558852ed09
parent80fe50590fc446f0aea02cab09e48d586739ff78 (diff)
downloadgnurl-e0ec9fa294691cf4f54314fe87931b5187a63c11.tar.gz
gnurl-e0ec9fa294691cf4f54314fe87931b5187a63c11.tar.bz2
gnurl-e0ec9fa294691cf4f54314fe87931b5187a63c11.zip
no more dllinit.o usage
-rw-r--r--lib/Makefile.m326
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index 6da5a1556..c68443a35 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -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