diff options
author | Guenter Knauf <lists@gknw.net> | 2011-09-21 02:02:31 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2011-09-21 02:06:05 +0200 |
commit | a6b69b64ad402fade4f04434395e2ea97da55fa8 (patch) | |
tree | 707a421d8aab4b5d2b7617bf9975f1114e98ec25 /docs | |
parent | 9ecf53e1544e90aeb2e667fdbbc84f05e341cc07 (diff) |
Some more MinGW build tweaks.
Added envvars to specify OpenSSL include, libpath and lib.
Added rule to create curlbuild.h from curlbuild.h.dist.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/Makefile.m32 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/examples/Makefile.m32 b/docs/examples/Makefile.m32 index 45cde7746..44c288330 100644 --- a/docs/examples/Makefile.m32 +++ b/docs/examples/Makefile.m32 @@ -40,8 +40,11 @@ endif ifndef OPENSSL_PATH OPENSSL_PATH = ../../../openssl-0.9.8r endif -ifndef OPENSSL_LIB -OPENSSL_LIB = $(OPENSSL_PATH)/out +ifndef OPENSSL_LIBPATH +OPENSSL_LIBPATH = $(OPENSSL_PATH)/out +endif +ifndef OPENSSL_LIBS +OPENSSL_LIBS = -leay32 -lssl32 endif # Edit the path below to point to the base of your LibSSH2 package. ifndef LIBSSH2_PATH @@ -91,6 +94,7 @@ endif LDFLAGS = -s RC = windres RCFLAGS = --include-dir=$(PROOT)/include -O COFF -i + RM = del /q /f 2>NUL CP = copy @@ -165,7 +169,7 @@ ifdef SSH2 endif ifdef SSL CFLAGS += -DUSE_SSLEAY -DHAVE_OPENSSL_ENGINE_H - curl_LDADD += -L"$(OPENSSL_LIB)" -leay32 -lssl32 + curl_LDADD += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS) endif ifdef ZLIB INCLUDES += -I"$(ZLIB_PATH)" |