diff --git a/build/jam/SystemLibraryRules b/build/jam/SystemLibraryRules index 954c4f06a3..3ef5e90cdd 100644 --- a/build/jam/SystemLibraryRules +++ b/build/jam/SystemLibraryRules @@ -36,6 +36,10 @@ rule TargetLibstdc++ asPath BuildFeatureAttribute gcc_syslibs : libstdc++.so : $(flags) ] ; } else { + if $(TARGET_PLATFORM) = libbe_test { + # Use the existing host library + return stdc++.r4 ; + } # TODO: return libstdc++.so for non-Haiku target platform if needed } }