summaryrefslogtreecommitdiff
path: root/cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/Makefile')
-rw-r--r--cpp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
index b3cd65f6d7..95d9af73f4 100644
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -100,7 +100,7 @@ endef
$(foreach dir,$(SRCDIRS),$(eval $(call CPPRULE,$(dir))))
# Unit test plugin libraries.
-$(TESTDIR)/%Test.so: test/unit/%Test.cpp
+$(TESTDIR)/%Test.so: test/unit/%Test.cpp $(LIB_common) $(LIB_client)
mkdir -p $(dir $@)
$(CXX) -shared -o $@ $< $(CXXFLAGS) -Itest/include $(LDFLAGS) -lcppunit $(LIB_common) $(LIB_broker)