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
|
# there is no libsupc++.so for the legacy compiler
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
# return libsupc++.so from the gcc_syslibs build feature.
|
# return libstdc++.so (which includes libsupc++) from the gcc_syslibs
|
||||||
|
# build feature.
|
||||||
local flags ;
|
local flags ;
|
||||||
if $(asPath) = true {
|
if $(asPath) = true {
|
||||||
flags += path ;
|
flags += path ;
|
||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
BuildFeatureAttribute gcc_syslibs : libsupc++.so : $(flags)
|
BuildFeatureAttribute gcc_syslibs : libstdc++.so : $(flags)
|
||||||
] ;
|
] ;
|
||||||
} else {
|
} else {
|
||||||
# TODO: return libsupc++.so for non-Haiku target platform if needed
|
# TODO: return libsupc++.so for non-Haiku target platform if needed
|
||||||
|
|||||||
Reference in New Issue
Block a user