mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-19 17:17:04 -04:00
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:
parent
08c102235d
commit
6beecaf1b0
3 changed files with 7247 additions and 6938 deletions
4
CHANGES
4
CHANGES
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
17
configure.in
17
configure.in
|
|
@ -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"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue