Ticket #12595: 0001-unittests-link-libcppunit.so-to-the-unittests-direct.patch

File 0001-unittests-link-libcppunit.so-to-the-unittests-direct.patch, 872 bytes (added by Max-Might, 5 years ago)
  • src/tools/cppunit/Jamfile

    From 8b0ee66dd1c611965819b249e7bc89797f61cd7b Mon Sep 17 00:00:00 2001
    From: Kostadin Damyanov <maxmight@gmail.com>
    Date: Tue, 12 Jan 2016 10:47:22 +0200
    Subject: [PATCH 1/1] unittests: link libcppunit.so to the unittests directory
    
    ---
     src/tools/cppunit/Jamfile | 8 ++++++++
     1 file changed, 8 insertions(+)
    
    diff --git a/src/tools/cppunit/Jamfile b/src/tools/cppunit/Jamfile
    index c337ab4..64fd40b 100644
    a b SharedLibrary libcppunit.so :  
    5555if  $(OS) = BEOS && $(OSPLAT) != PPC {
    5656    LinkAgainst libcppunit.so : libelfsymbolpatcher.a ;
    5757}
     58
     59# To run the tests we need the cppunit library.
     60{
     61    local target = <src!tools!cppunit>libcppunit.so ;
     62    MakeLocate $(target) : $(TARGET_UNIT_TEST_LIB_DIR) ;
     63    RelSymLink $(target) : libcppunit.so ;
     64    Depends libcppunit.so : $(target) ;
     65}