aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-05-17 10:10:10 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-05-17 10:10:10 +0000
commit08394ddb2d62ec8aab9121e45ab9c1a102e85ba4 (patch)
treed0a01eb678338b1d280280c31086af38cc7c15c6
parentc655a1c0115bf01738d328436b0e4c32893f5b3e (diff)
downloadmonitoring-plugins-08394ddb2d62ec8aab9121e45ab9c1a102e85ba4.tar.gz
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
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 4e65c52f..0fba2d39 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