Code

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 b3813c65c3c8ca59b4926b486fbdd12067d75d64..b1dc31f4ffdcfebea357ed3ede6ea055b3c820dc 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"