statgrab: Save LDFLAGS before changing them.
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 18 Mar 2016 12:38:04 +0000 (13:38 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 18 Mar 2016 12:38:04 +0000 (13:38 +0100)
We did restore them after the test but forget to save them before it.

configure.ac

index b3813c6..b1dc31f 100644 (file)
@@ -4371,6 +4371,7 @@ fi
 if test "x$with_libstatgrab" = "xyes"
 then
   SAVE_CFLAGS="$CFLAGS"
+  SAVE_LDFLAGS="$LDFLAGS"
   SAVE_LIBS="$LIBS"
 
   CFLAGS="$CFLAGS $with_libstatgrab_cflags"