From: Ton Voon Date: Wed, 17 May 2006 10:10:10 +0000 (+0000) Subject: Fix for loading SSL libraries at runtime X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=08394ddb2d62ec8aab9121e45ab9c1a102e85ba4;p=nagiosplug.git Fix for loading SSL libraries at runtime git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1393 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/configure.in b/configure.in index 4e65c52..0fba2d3 100644 --- a/configure.in +++ b/configure.in @@ -444,7 +444,8 @@ if ! test x"$with_openssl" = x"no"; then unset FOUNDINCLUDE if test x"$with_openssl" != x"/usr" ; then CPPFLAGS="$CPPFLAGS -I$with_openssl/include" - LDFLAGS="$LDFLAGS -L$with_openssl/lib" + # Need both to find ssl libraries and to load at runtime + LDFLAGS="$LDFLAGS -L$with_openssl/lib -R$with_openssl/lib" fi dnl check for openssl in $dir/include/openssl