cURL / Mailing Lists / curl-library / Single Mail

curl-library

Makefile.vc6 (Last Thing...I Promise...)

From: Casey ODonnell <caseyodonnell_at_gmail.com>
Date: Tue, 10 Aug 2004 19:00:49 -0400

In any DLL builds you have to link against the windows libraries...

release-dll needs to be:
LNK = $(LNKDLL) $(WINLIBS) /out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib"

release-libcurl-ssl-dll needs to be:
LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /out:$(TARGET)

debug-dll needs to be:
LNK = $(LNKDLL) $(WINLIBS) /DEBUG /out:$(TARGET)
/IMPLIB:"$(LIB_NAME_DEBUG).lib" /PDB:"$(LIB_NAME_DEBUG).pdb"

debug-ssl-dll needs to be:
LNK = $(LNKDLL) $(WINLIBS) $(LFLAGSSSL) /DEBUG /out:$(TARGET)
/IMPLIB:"$(LIB_NAME_DEBUG).lib" /PDB:"$(LIB_NAME_DEBUG).pdb"

Otherwise the linker flips out and yells about unresolved externals...

Cheers.
Casey

-- 
Casey O'Donnell
RPI STS Department - Graduate Student
http://homepage.mac.com/codonnell/
http://homepage.mac.com/codonnell/wxblogger/
Received on 2004-08-11