diff --git a/src/tools/cppunit/Jamfile b/src/tools/cppunit/Jamfile index 3e75287a2e..ffb20ade3a 100644 --- a/src/tools/cppunit/Jamfile +++ b/src/tools/cppunit/Jamfile @@ -55,3 +55,11 @@ SharedLibrary libcppunit.so : if $(OS) = BEOS && $(OSPLAT) != PPC { LinkAgainst libcppunit.so : libelfsymbolpatcher.a ; } + +# To run the tests we need the cppunit library. +{ + local target = libcppunit.so ; + MakeLocate $(target) : $(TARGET_UNIT_TEST_LIB_DIR) ; + RelSymLink $(target) : libcppunit.so ; + Depends libcppunit.so : $(target) ; +}