lib/makefile.m32: add missing libs to build libcurl.dll
Add 'gdi32' and 'crypt32' Windows implibs to avoid failure while building libcurl.dll using the mingw compiler. The same logic is used in 'src/makefile.m32' when building curl.exe.
This commit is contained in:
parent
992a731116
commit
e44155156a
@ -214,6 +214,9 @@ ifdef SSL
|
|||||||
OPENSSL_LIBS = -lcrypto -lssl
|
OPENSSL_LIBS = -lcrypto -lssl
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifndef DYN
|
||||||
|
OPENSSL_LIBS += -lgdi32 -lcrypt32
|
||||||
|
endif
|
||||||
INCLUDES += -I"$(OPENSSL_INCLUDE)"
|
INCLUDES += -I"$(OPENSSL_INCLUDE)"
|
||||||
CFLAGS += -DUSE_OPENSSL -DHAVE_OPENSSL_ENGINE_H -DHAVE_OPENSSL_PKCS12_H \
|
CFLAGS += -DUSE_OPENSSL -DHAVE_OPENSSL_ENGINE_H -DHAVE_OPENSSL_PKCS12_H \
|
||||||
-DHAVE_ENGINE_LOAD_BUILTIN_ENGINES -DOPENSSL_NO_KRB5 \
|
-DHAVE_ENGINE_LOAD_BUILTIN_ENGINES -DOPENSSL_NO_KRB5 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user