about summary refs log tree commit diff homepage
path: root/unittests/Solver
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Solver')
-rw-r--r--unittests/Solver/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/unittests/Solver/Makefile b/unittests/Solver/Makefile
index aeac34ac..65edbe7a 100644
--- a/unittests/Solver/Makefile
+++ b/unittests/Solver/Makefile
@@ -9,4 +9,6 @@ LINK_COMPONENTS := support
 
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
 
-LIBS += $(STP_LDFLAGS)
+ifneq ($(ENABLE_STP),0)
+  LIBS += $(STP_LDFLAGS)
+endif