From 53b2fd1295ad7548dc06895cbec99b7203dd840d Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Fri, 29 Sep 2017 23:39:06 +0300 Subject: [PATCH] Feature #101: Mac OS X 10.13 OpenSSL support (I) This is only a quick fix solution which doesn't work for building against SDK 10.13 or newer. Those SDKs no longer have a linker library for libcrypto. Update the linker flag to include -lcrypto.0.9.8 which makes sure that the dynamic linker on Mac OS X will no longer use whatever library the symbolic link /usr/lib/libcrypto.dylib points to, but really the old OpenSSL 0.9.8 library. --- ChangeLog | 2 ++ src/adium/README.Adium | 3 +++ src/adium/xcconfigs/SIPEAdiumPlugin.xcconfig | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7f7eea14..442de003 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ version 1.??.? "D-Bus, IPv6" (????-??-??) + - Feature #101: Mac OS X 10.13 OpenSSL support (Stefan Becker) + * quick fix: hard-code linking against crypto.0.9.8 using older SDK - Feature #100: Extend libpurple D-Bus interface (Stefan Becker) - Feature #99: IPv6 addresses in SIP & SDP messages (Stefan Becker) - Feature #96: Support for OS X 10.11+ SDK (Stefan Becker) diff --git a/src/adium/README.Adium b/src/adium/README.Adium index c4ce06d7..b8fce07d 100644 --- a/src/adium/README.Adium +++ b/src/adium/README.Adium @@ -54,6 +54,9 @@ NOTE: please always make sure that the correct scheme has been selected by Now you can just select Product -> Build and after a short while you should get a SIPEAdiumPlugin binary that you can install into your Adium application. +NOTE: You can't use Xcode 9 (or newer) targeting SDK 10.13 (or newer), because + the SDK doesn't have the linker libraries for OpenSSL 0.9.8. + 4. Build SIPEAdiumPlugin for an older Max OS X release ------------------------------------------------------ diff --git a/src/adium/xcconfigs/SIPEAdiumPlugin.xcconfig b/src/adium/xcconfigs/SIPEAdiumPlugin.xcconfig index 7540c71b..d6533647 100644 --- a/src/adium/xcconfigs/SIPEAdiumPlugin.xcconfig +++ b/src/adium/xcconfigs/SIPEAdiumPlugin.xcconfig @@ -6,7 +6,7 @@ // // PRODUCT_NAME = SIPEAdiumPlugin -OTHER_LDFLAGS = -lxml2 -undefined dynamic_lookup +OTHER_LDFLAGS = -lxml2 -lcrypto.0.9.8 -undefined dynamic_lookup LD_RUNPATH_SEARCH_PATHS = @loader_path/../Frameworks INFOPLIST_FILE = Info.plist WRAPPER_EXTENSION = AdiumLibpurplePlugin -- 2.11.4.GIT