]> sigrok.org Git - libsigrok.git/commitdiff
Build: Fix restore of LIBS after temporary change
authorDaniel Elstner <redacted>
Tue, 8 Sep 2015 02:02:04 +0000 (04:02 +0200)
committerDaniel Elstner <redacted>
Tue, 8 Sep 2015 02:02:04 +0000 (04:02 +0200)
configure.ac

index c562d1b7abd080919f1033a026e30a9640267404..16056c2b0f525904d25886e78ae5e0a798cd4729 100644 (file)
@@ -114,7 +114,7 @@ SR_ARG_OPT_CHECK([libieee1284], [LIBIEEE1284],, [
        AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <ieee1284.h>]],
                                [[(void) ieee1284_open(0, 0, 0);]])],
                [sr_have_libieee1284=yes], [sr_have_libieee1284=no])
-       sr_save_LIBS=$LIBS
+       LIBS=$sr_save_LIBS
 ])
 AS_IF([test "x$sr_have_libieee1284" = xyes],
        [SR_PREPEND([SR_EXTRA_LIBS], [-lieee1284])])