[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6492] Don't link with boost_system library if it' s not d

From: Vadim Zeitlin
Subject: [lmi-commits] [6492] Don't link with boost_system library if it' s not detected by configure
Date: Fri, 29 Jan 2016 02:31:34 +0000

Revision: 6492
Author:   zeitlin
Date:     2016-01-29 02:31:33 +0000 (Fri, 29 Jan 2016)
Log Message:
Don't link with boost_system library if it's not detected by configure

Configure tested whether boost_system was available but then added it to
BOOST_LIBS unconditionally, breaking the build when using Boost versions not
providing this library, such as the currently officially used 1.33.1.

Modified Paths:

Modified: lmi/trunk/configure.ac
--- lmi/trunk/configure.ac      2016-01-26 15:13:29 UTC (rev 6491)
+++ lmi/trunk/configure.ac      2016-01-29 02:31:33 UTC (rev 6492)
@@ -391,7 +391,7 @@
-BOOST_LIBS="-l$boost_libfs -l$boost_libregex -l$boost_libsystem"
+BOOST_LIBS="-l$boost_libfs -l$boost_libregex $BOOST_LIBS"
 dnl contains flags needed to link to externally or internally built
 dnl boost libraries

reply via email to

[Prev in Thread] Current Thread [Next in Thread]