about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorDan Liew <delcypher@gmail.com>2014-04-24 14:11:17 +0100
committerDan Liew <delcypher@gmail.com>2014-04-24 14:11:17 +0100
commit169b4eed5b29427611c7d4211de5c1ab16adb3cb (patch)
tree1d1a418eeeb15f2d78f4225b94f18096e081fe22
parent9f183220d042e78df8ff8540a61be982cab3aec9 (diff)
parent1bc554fba825738eb20edf3025f0f63cdf44b305 (diff)
downloadklee-169b4eed5b29427611c7d4211de5c1ab16adb3cb.tar.gz
Merge pull request #120 from hpalikareva/order-link-libs
Fixing linking order if metaSMT is used: linking rt after z3 to avoid un...
-rw-r--r--tools/kleaver/Makefile2
-rw-r--r--tools/klee/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/kleaver/Makefile b/tools/kleaver/Makefile
index 39ba8fdb..656ffeae 100644
--- a/tools/kleaver/Makefile
+++ b/tools/kleaver/Makefile
@@ -29,7 +29,7 @@ ifeq ($(ENABLE_METASMT),1)
               -L$(METASMT_ROOT)/../../deps/boost-1_52_0/lib 
   CXX.Flags += -DBOOST_HAS_GCC_TR1
   CXX.Flags := $(filter-out -fno-exceptions,$(CXX.Flags)) 
-  LIBS += -lrt -lgomp -lboost_iostreams -lboost_thread -lboost_system -lmetaSMT -lz3 -lboolector -lminisat_core
+  LIBS += -lgomp -lboost_iostreams -lboost_thread -lboost_system -lmetaSMT -lz3 -lrt -lboolector -lminisat_core
 endif
 
 ifeq ($(STP_NEEDS_BOOST),1)
diff --git a/tools/klee/Makefile b/tools/klee/Makefile
index ce5a21e6..e526f2a2 100644
--- a/tools/klee/Makefile
+++ b/tools/klee/Makefile
@@ -30,7 +30,7 @@ ifeq ($(ENABLE_METASMT),1)
               -L$(METASMT_ROOT)/../../deps/boost-1_52_0/lib 
   CXX.Flags += -DBOOST_HAS_GCC_TR1
   CXX.Flags := $(filter-out -fno-exceptions,$(CXX.Flags)) 
-  LIBS += -lrt -lgomp -lboost_iostreams -lboost_thread -lboost_system -lmetaSMT -lz3 -lboolector -lminisat_core
+  LIBS += -lgomp -lboost_iostreams -lboost_thread -lboost_system -lmetaSMT -lz3 -lrt -lboolector -lminisat_core
 endif
 
 ifeq ($(STP_NEEDS_BOOST),1)