summaryrefslogtreecommitdiff
path: root/graphics/FreeCAD/boost_current.patch
blob: 67f536325422cae52b9e1c613c9c67c8d5365377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- FreeCAD-0.9.2646/acinclude.m4	2010-01-07 10:14:08.000000000 -0200
+++ FreeCAD-0.9.2646_new/acinclude.m4	2010-04-21 13:48:34.000000000 -0300
@@ -418,7 +418,7 @@
 fc_boost_ac_save_libs=$LIBS
 CPPFLAGS="$CPPFLAGS -I$fc_boost_incs"
 LDFLAGS="$LDFLAGS -L$fc_boost_libs"
-LIBS="-lboost_program_options-mt"
+LIBS="-lboost_program_options"
 
 AC_TRY_LINK([#include <boost/program_options.hpp>],
 	[namespace po = boost::program_options;
@@ -459,17 +459,17 @@
 AC_MSG_RESULT($ac_cv_boost_system)
 rm -f boost.cpp boost
 
-BOOST_FILESYSTEM_LIB="-lboost_filesystem-mt"
-BOOST_PROGOPTIONS_LIB="-lboost_program_options-mt"
-BOOST_SIGNALS_LIB="-lboost_signals-mt"
+BOOST_FILESYSTEM_LIB="-lboost_filesystem"
+BOOST_PROGOPTIONS_LIB="-lboost_program_options"
+BOOST_SIGNALS_LIB="-lboost_signals"
 BOOST_SYSTEM_LIB=""
-BOOST_REGEX_LIB="-lboost_regex-mt"
+BOOST_REGEX_LIB="-lboost_regex"
 if test x"$ac_cv_boost_system" = xyes; then
-    LIBS="-lboost_system-mt"
+    LIBS="-lboost_system"
     AC_MSG_CHECKING(for boost system library)
     AC_TRY_LINK([#include <boost/system/error_code.hpp>],
         [ boost::system::error_code error_code; std::string message(error_code.message()); return 0; ],
-        [BOOST_SYSTEM_LIB="-lboost_system-mt"],
+        [BOOST_SYSTEM_LIB="-lboost_system"],
         [BOOST_SYSTEM_LIB=""])
     
     if test "x$BOOST_SYSTEM_LIB" = "x"; then