aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-02-17 21:04:55 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-02-17 21:04:55 +0000
commit25ae9943a8d9035aaa3b694d3c4d561a23086d63 (patch)
tree8dcde75fd8bfbcf41ece481397cd79f651a30a95
parentbb853d42597ae614951c0943d9792921f4f1c057 (diff)
downloadmonitoring-plugins-25ae9943a8d9035aaa3b694d3c4d561a23086d63.tar.gz
library search dirs are part of LDFLAGS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@330 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index b3864eff..cd0c1186 100644
--- a/configure.in
+++ b/configure.in
@@ -93,7 +93,7 @@ AC_ARG_WITH(pgsql,--with-pgsql=<dir> sets path to pgsql installation,[PGSQL=$wit
AC_CHECK_LIB(crypt,main)
if test "$ac_cv_lib_crypt_main" = "yes"; then
if test -n "$PGSQL"; then
- LIBS="$LIBS -L$PGSQL/lib"
+ LDFLAGS="$LDFLAGS -L$PGSQL/lib"
CPPFLAGS="$CPPFLAGS -I$PGSQL/include"
fi
AC_CHECK_LIB(pq,PQsetdbLogin,,,-lcrypt)