unittests: link libcppunit.so to the unittests directory

Signed-off-by: Adrien Destugues <[email protected]>

Fixes #12595.
This commit is contained in:
Kostadin Damyanov
2016-01-17 09:29:37 +01:00
committed by Adrien Destugues
parent 9909ce416d
commit bb0ca427df
+8
View File
@@ -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 = <src!tools!cppunit>libcppunit.so ;
MakeLocate $(target) : $(TARGET_UNIT_TEST_LIB_DIR) ;
RelSymLink $(target) : libcppunit.so ;
Depends libcppunit.so : $(target) ;
}