curl / Mailing Lists / curl-users / Single Mail

curl-users

build static libcurl lib on windows with WinSSL

From: אהד גלס <glasyo12345_at_gmail.com>
Date: Wed, 23 Jan 2019 16:34:22 +0200

hello everyone,

I want to create static libcurl.lib with WinSSl. I built libcurl.lib
on windows with VC++ using the command: "nmake /f makefile.vc
RTLIBCFG=static ENABLE_WINSSL=yes mode=static MACHINE=x64 VC=17"

it created a lib inside the directory:
"libcurl-vc17-x64-release-static-ipv6-sspi-winssl"
"libcurl-vc17-x64-release-static-ipv6-sspi-winssl-obj-lib" (I tried
them both)

after that I created a new dll project that will link with this lib
(using linker-input-libcurl.lib)

after I created my dll and inspect it using CFF explorer I can see it
has libcurl.dll in its import directories which means it wasnt built
staticly at all.

what am I missing here?

Ohad
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-23