Unable to build static with NetSSL_OpenSSL for OS X #763

This commit is contained in:
Alex Fabijanic 2015-03-29 10:20:12 -05:00
parent 5cc5dd557b
commit 2feb15eb19
4 changed files with 11 additions and 4 deletions

View File

@ -19,6 +19,6 @@ objects = Mail
target = Mail target = Mail
target_version = 1 target_version = 1
target_libs = PocoNetSSL PocoNet PocoCrypto PocoUtil PocoXML PocoFoundation target_libs = PocoNetSSL PocoNet PocoCrypto PocoUtil PocoJSON PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec include $(POCO_BASE)/build/rules/exec

View File

@ -8,11 +8,18 @@
include $(POCO_BASE)/build/rules/global include $(POCO_BASE)/build/rules/global
# Note: linking order is important, do not change it.
ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl
endif
objects = Twitter TweetApp objects = Twitter TweetApp
target = tweet target = tweet
target_version = 1 target_version = 1
target_libs = PocoUtil PocoJSON PocoNetSSL PocoCrypto PocoNet PocoXML PocoFoundation target_libs = PocoNetSSL PocoCrypto PocoNet PocoUtil PocoJSON PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec include $(POCO_BASE)/build/rules/exec

View File

@ -19,6 +19,6 @@ objects = download
target = download target = download
target_version = 1 target_version = 1
target_libs = PocoNetSSL PocoCrypto PocoNet PocoUtil PocoXML PocoFoundation target_libs = PocoNetSSL PocoCrypto PocoNet PocoUtil PocoJSON PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec include $(POCO_BASE)/build/rules/exec

View File

@ -21,6 +21,6 @@ objects = NetSSLTestSuite Driver \
target = testrunner target = testrunner
target_version = 1 target_version = 1
target_libs = PocoNetSSL PocoNet PocoCrypto PocoUtil PocoXML PocoFoundation CppUnit target_libs = PocoNetSSL PocoNet PocoCrypto PocoUtil PocoJSON PocoXML PocoFoundation CppUnit
include $(POCO_BASE)/build/rules/exec include $(POCO_BASE)/build/rules/exec