From: Mark Andrews Date: Sun, 23 Nov 2003 23:27:36 +0000 (+0000) Subject: solaris spectify -R for openssl linking X-Git-Tag: v9.2.4rc1~81^2~83 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=964a803b2eb5c073f8494bbd6faab540c725beae;p=thirdparty%2Fbind9.git solaris spectify -R for openssl linking --- diff --git a/configure.in b/configure.in index c86ecf76312..425af8a8e01 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.348 $) +AC_REVISION($Revision: 1.349 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.13) @@ -361,7 +361,14 @@ case "$use_openssl" in fi USE_OPENSSL='-DOPENSSL' DST_OPENSSL_INC="-I$use_openssl/include" - DNS_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto" + case $host in + *-solaris*) + DNS_OPENSSL_LIBS="-L$use_openssl/lib -R$use_openssl/lib -lcrypto" + ;; + *) + DNS_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto" + ;; + esac AC_MSG_RESULT(using openssl from $use_openssl/lib and $use_openssl/include) saved_cflags="$CFLAGS"