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, 4 insertions, 0 deletions
diff --git a/unittests/Solver/Makefile b/unittests/Solver/Makefile
index 00713691..83427795 100644
--- a/unittests/Solver/Makefile
+++ b/unittests/Solver/Makefile
@@ -10,3 +10,7 @@ LINK_COMPONENTS := support
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
 
 LIBS += -lstp
+
+ifeq ($(STP_NEEDS_BOOST),1)
+	LIBS += $(UPSTREAM_STP_LINK_FLAGS)
+endif