2209. [port] osx: linking against user supplied static OpenSSL

libraries failed as the system ones were still being
                        found. [RT #17078]
This commit is contained in:
Mark Andrews 2007-08-14 00:17:17 +00:00
parent 08c102235d
commit 6beecaf1b0
3 changed files with 7247 additions and 6938 deletions

View file

@ -1,3 +1,7 @@
2209. [port] osx: linking against user supplied static OpenSSL
libraries failed as the system ones were still being
found. [RT #17078]
2208. [port] win32: make sure both build methods produce the
same output. [RT #17058]

14164
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.355.18.67 $)
AC_REVISION($Revision: 1.355.18.68 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59)
@ -429,6 +429,21 @@ case "$use_openssl" in
*-hp-hpux*)
DNS_OPENSSL_LIBS="-L$use_openssl/lib -Wl,+b: -lcrypto"
;;
*-apple-darwin*)
#
# Apple's ld seaches for serially for dynamic
# then static libraries. This means you can't
# use -L to override dynamic system libraries
# with static ones when linking. Instead
# we specify a absolute path.
#
if test -f "$use_openssl/lib/libcrypto.dylib"
then
DNS_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
else
DNS_OPENSSL_LIBS="$use_openssl/lib/libcrypto.a"
fi
;;
*)
DNS_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
;;