gcrypt: take search path into account
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 4 Aug 2015 13:40:34 +0000 (15:40 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 4 Aug 2015 13:40:34 +0000 (15:40 +0200)
configure.ac

index 9fde518..e3732fa 100644 (file)
@@ -2018,8 +2018,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
@@ -2047,6 +2049,7 @@ fi
 
 CPPFLAGS="$SAVE_CPPFLAGS"
 LDFLAGS="$SAVE_LDFLAGS"
+LIBS="$SAVE_LIBS"
 
 if test "x$with_libgcrypt" = "xyes"
 then