cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Guenter Knauf <eflash_at_gmx.net>
Date: Sun, 15 Aug 2004 01:15:11 +0200

Hi Casey,
I've tested and applied your suggested patch.

Guenter.

> 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-15