From dc83a48d25ff67d1aaf0f8be73d4fa4d6fca52ec Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 2 Sep 2014 10:05:02 +0200 Subject: [PATCH] Make TargetLibstdc++ work for libbe_test target Needed for the test_app_server. The logic here may need some improvements, but I'm not sure how to find the right library name in all cases. I fixed at least the x86_gcc2 case here. --- build/jam/SystemLibraryRules | 4 ++++ 1 file changed, 4 insertions(+) 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 } }