aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.netware
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-17 13:25:54 +0000
committerYang Tse <yangsita@gmail.com>2008-08-17 13:25:54 +0000
commitfb8fe6f2b3f244e76e47ac955a37d07927d1bc02 (patch)
treeb6aff66f561048e04044bef7a69f1a09ae2b27b1 /lib/Makefile.netware
parent3e61c90dbec53e06fb30b0dc706768b675e665f4 (diff)
OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory
when including the OpenSSL header files. This is the recommended setting, this prevents the undesired inclusion of header files with the same name as those of OpenSSL but which do not belong to the OpenSSL package. The visible change from previously released libcurl versions is that now OpenSSl enabled NetWare builds also define USE_OPENSSL in config files, and that OpenSSL header files must be located in a subdirectory named 'openssl'.
Diffstat (limited to 'lib/Makefile.netware')
-rw-r--r--lib/Makefile.netware3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index b52ac0128..a7b6f00dc 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -168,7 +168,7 @@ else
endif
endif
ifdef WITH_SSL
- INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L) -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)/openssl
+ INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
IMPORTS += GetProcessSwitchCount RunningProcess
@@ -517,6 +517,7 @@ ifdef WITH_ZLIB
endif
ifdef WITH_SSL
@echo $(DL)#define USE_SSLEAY 1$(DL) >> $@
+ @echo $(DL)#define USE_OPENSSL 1$(DL) >> $@
@echo $(DL)#define HAVE_OPENSSL_X509_H 1$(DL) >> $@
@echo $(DL)#define HAVE_OPENSSL_SSL_H 1$(DL) >> $@
@echo $(DL)#define HAVE_OPENSSL_RSA_H 1$(DL) >> $@