unittests: link libcppunit.so to the unittests directory
Signed-off-by: Adrien Destugues <[email protected]> Fixes #12595.
This commit is contained in:
committed by
Adrien Destugues
parent
9909ce416d
commit
bb0ca427df
@@ -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) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user