mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
--- 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
|