INCLUDE += -I$(POCO_BASE)/openssl/include should be added to the list of

includes otherwise, gcc takes the ssl.h from /usr/include/openssl which
could miss some declarations like TLSv1_1_client_method and
TLSv1_1_server_method, depednding on which version of openssl is
installed.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-09-17 12:31:54 +02:00
parent 8aef165ed5
commit 73222d1530

View File

@ -5,9 +5,10 @@
#
# Makefile for Poco NetSSL_OpenSSL
#
include $(POCO_BASE)/build/rules/global
INCLUDE += -I$(POCO_BASE)/openssl/include
SYSLIBS += -lssl -lcrypto
objects = AcceptCertificateHandler RejectCertificateHandler ConsoleCertificateHandler \