From a127ad48e69736f16558a4b48179cb9074b8ed9a Mon Sep 17 00:00:00 2001 From: Kacper Kasper Date: Sun, 5 Apr 2026 22:52:18 +0200 Subject: [PATCH] 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 --- src/tools/cppunit/Jamfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/cppunit/Jamfile b/src/tools/cppunit/Jamfile index ecff76f5a9..f343bced26 100644 --- a/src/tools/cppunit/Jamfile +++ b/src/tools/cppunit/Jamfile @@ -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 ; }