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:
Kacper Kasper
2026-04-07 15:18:16 +02:00
parent a080f1277d
commit a127ad48e6
+2 -2
View File
@@ -10,7 +10,7 @@ SEARCH_SOURCE += [ FDirName $(SUBDIR) cppunit ] ;
{
DEFINES += BUILDING_CPPUNIT ;
if ( $(OS) != BEOS && $(OS) != HAIKU ) || $(OSPLAT) = PPC {
if $(OSPLAT) = PPC {
DEFINES += NO_ELF_SYMBOL_PATCHING ;
}
}
@@ -53,6 +53,6 @@ SharedLibrary libcppunit.so :
: be [ TargetLibstdc++ ]
;
if ( $(OS) = BEOS || $(OS) = HAIKU ) && $(OSPLAT) != PPC {
if $(OSPLAT) != PPC {
LinkAgainst libcppunit.so : libelfsymbolpatcher.a debug ;
}