Unable to build static with NetSSL_OpenSSL for OS X #763

This commit is contained in:
Alex Fabijanic 2015-03-28 19:16:56 -05:00
parent 648930b8db
commit 4e7d25713a
4 changed files with 11 additions and 4 deletions

View File

@ -19,6 +19,6 @@ objects = Mail
target = Mail
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

View File

@ -8,11 +8,18 @@
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
target = tweet
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

View File

@ -19,6 +19,6 @@ objects = download
target = download
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

View File

@ -22,6 +22,6 @@ objects = NetSSLTestSuite Driver \
target = testrunner
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