Use libstdc++.so in place of libsupc++.so.
* The latter doesn't link against libroot.so, which lets the library init fail. * Fix kernel_debugger crash in malloc(). * libsupc++.so will be deleted from gcc_syslibs package (the static libs will stay however).
This commit is contained in:
@@ -57,13 +57,14 @@ rule TargetLibsupc++ asPath
|
||||
# there is no libsupc++.so for the legacy compiler
|
||||
return ;
|
||||
}
|
||||
# return libsupc++.so from the gcc_syslibs build feature.
|
||||
# return libstdc++.so (which includes libsupc++) from the gcc_syslibs
|
||||
# build feature.
|
||||
local flags ;
|
||||
if $(asPath) = true {
|
||||
flags += path ;
|
||||
}
|
||||
return [
|
||||
BuildFeatureAttribute gcc_syslibs : libsupc++.so : $(flags)
|
||||
BuildFeatureAttribute gcc_syslibs : libstdc++.so : $(flags)
|
||||
] ;
|
||||
} else {
|
||||
# TODO: return libsupc++.so for non-Haiku target platform if needed
|
||||
|
||||
Reference in New Issue
Block a user