about summary refs log tree commit diff homepage
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Expr/Makefile6
-rw-r--r--unittests/Solver/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/unittests/Expr/Makefile b/unittests/Expr/Makefile
index 14945b1a..5ea581b4 100644
--- a/unittests/Expr/Makefile
+++ b/unittests/Expr/Makefile
@@ -2,10 +2,12 @@
 
 LEVEL := ../..
 TESTNAME := Expr
-USEDLIBS := kleaverExpr.a kleeBasic.a
+STP_LIBS := stp_c_interface.a stp_AST.a stp_bitvec.a \
+            stp_constantbv.a stp_sat.a stp_simplifier.a
+USEDLIBS := kleaverExpr.a kleeBasic.a $(STP_LIBS)
 LINK_COMPONENTS := support
 
 include $(LEVEL)/Makefile.config
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
 
-LIBS += -lstp 
+
diff --git a/unittests/Solver/Makefile b/unittests/Solver/Makefile
index 583025fb..44c965ba 100644
--- a/unittests/Solver/Makefile
+++ b/unittests/Solver/Makefile
@@ -2,10 +2,12 @@
 
 LEVEL := ../..
 TESTNAME := Solver
-USEDLIBS := kleaverSolver.a kleaverExpr.a kleeSupport.a kleeBasic.a
+STP_LIBS := stp_c_interface.a stp_AST.a stp_bitvec.a \
+            stp_constantbv.a stp_sat.a stp_simplifier.a
+USEDLIBS := kleaverSolver.a kleaverExpr.a kleeSupport.a kleeBasic.a $(STP_LIBS)
 LINK_COMPONENTS := support
 
 include $(LEVEL)/Makefile.config
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
 
-LIBS += -lstp 
+#LIBS += -lstp