mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00: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:
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
|
2208. [port] win32: make sure both build methods produce the
|
||||||
same output. [RT #17058]
|
same output. [RT #17058]
|
||||||
|
|
||||||
|
17
configure.in
17
configure.in
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
|
|||||||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||||
AC_DIVERT_POP()dnl
|
AC_DIVERT_POP()dnl
|
||||||
|
|
||||||
AC_REVISION($Revision: 1.429 $)
|
AC_REVISION($Revision: 1.430 $)
|
||||||
|
|
||||||
AC_INIT(lib/dns/name.c)
|
AC_INIT(lib/dns/name.c)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
@@ -429,6 +429,21 @@ case "$use_openssl" in
|
|||||||
*-hp-hpux*)
|
*-hp-hpux*)
|
||||||
DNS_OPENSSL_LIBS="-L$use_openssl/lib -Wl,+b: -lcrypto"
|
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"
|
DNS_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user