Code

library search dirs are part of LDFLAGS
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Mon, 17 Feb 2003 21:04:55 +0000 (21:04 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Mon, 17 Feb 2003 21:04:55 +0000 (21:04 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@330 f882894a-f735-0410-b71e-b25c423dba1c

configure.in

index b3864effe80225b98e2809fecb13dc5f244375e0..cd0c11866660a68f0e8aa7216280fdb39db5480d 100644 (file)
@@ -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)