cppunit: link elfpatcher on non-Haiku platforms
* haiku_unittests built on Linux wouldn't support debugger macros, even though they were running on Haiku. Change-Id: I5d7832680320c918ed385642bc7cadcc6e53f9c6
This commit is contained in:
@@ -10,7 +10,7 @@ SEARCH_SOURCE += [ FDirName $(SUBDIR) cppunit ] ;
|
|||||||
{
|
{
|
||||||
DEFINES += BUILDING_CPPUNIT ;
|
DEFINES += BUILDING_CPPUNIT ;
|
||||||
|
|
||||||
if ( $(OS) != BEOS && $(OS) != HAIKU ) || $(OSPLAT) = PPC {
|
if $(OSPLAT) = PPC {
|
||||||
DEFINES += NO_ELF_SYMBOL_PATCHING ;
|
DEFINES += NO_ELF_SYMBOL_PATCHING ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -53,6 +53,6 @@ SharedLibrary libcppunit.so :
|
|||||||
: be [ TargetLibstdc++ ]
|
: be [ TargetLibstdc++ ]
|
||||||
;
|
;
|
||||||
|
|
||||||
if ( $(OS) = BEOS || $(OS) = HAIKU ) && $(OSPLAT) != PPC {
|
if $(OSPLAT) != PPC {
|
||||||
LinkAgainst libcppunit.so : libelfsymbolpatcher.a debug ;
|
LinkAgainst libcppunit.so : libelfsymbolpatcher.a debug ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user