Code

gcrypt: take search path into account
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 4 Aug 2015 13:40:34 +0000 (15:40 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 30 Nov 2015 21:53:59 +0000 (22:53 +0100)
configure.ac

index 2175beea209fd2da590c5c0e3cbe154085e0c550..2dfa9d86e2253da056d594137f91c14b8db2b995 100644 (file)
@@ -1971,8 +1971,10 @@ fi
 
 SAVE_CPPFLAGS="$CPPFLAGS"
 SAVE_LDFLAGS="$LDFLAGS"
+SAVE_LIBS="$LIBS"
 CPPFLAGS="$CPPFLAGS $GCRYPT_CPPFLAGS"
 LDFLAGS="$LDFLAGS $GCRYPT_LDFLAGS"
+LIBS="$LIBS $GCRYPT_LIBS"
 
 if test "x$with_libgcrypt" = "xyes"
 then
@@ -2000,6 +2002,7 @@ fi
 
 CPPFLAGS="$SAVE_CPPFLAGS"
 LDFLAGS="$SAVE_LDFLAGS"
+LIBS="$SAVE_LIBS"
 
 if test "x$with_libgcrypt" = "xyes"
 then