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.
This commit is contained in:
Adrien Destugues 2014-09-02 10:05:02 +02:00
parent b367d3a77c
commit dc83a48d25

View File

@ -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
}
}