summaryrefslogtreecommitdiff
path: root/lib/Makefile.m32
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2015-04-09 03:31:00 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-04-09 21:34:14 +0200
commite44155156a1bdaa62c19397f45302b389779061c (patch)
treea52c6643d66c3883b24d37f34e91eb1e1ca6a9e4 /lib/Makefile.m32
parent992a731116fc9134d4a0acf17fe10219917ecb30 (diff)
downloadcurl-e44155156a1bdaa62c19397f45302b389779061c.tar.gz
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.
Diffstat (limited to 'lib/Makefile.m32')
-rw-r--r--lib/Makefile.m323
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index 7653e0d8a..7506a01a2 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -214,6 +214,9 @@ ifdef SSL
OPENSSL_LIBS = -lcrypto -lssl
endif
endif
+ ifndef DYN
+ OPENSSL_LIBS += -lgdi32 -lcrypt32
+ endif
INCLUDES += -I"$(OPENSSL_INCLUDE)"
CFLAGS += -DUSE_OPENSSL -DHAVE_OPENSSL_ENGINE_H -DHAVE_OPENSSL_PKCS12_H \
-DHAVE_ENGINE_LOAD_BUILTIN_ENGINES -DOPENSSL_NO_KRB5 \