build_cross_tools_gcc4: Remove the generated static libstdc++.
We always want to use the shared one from the syslibs package, never the shared one from this build. Part of #14842: after this change, the ICU build now fails with "cannot find libstdc++" instead of an invalid symbol.
This commit is contained in:
@@ -299,6 +299,9 @@ esac
|
||||
# Only the ones from the source tree should be used.
|
||||
rm -rf "$installDir/$haikuMachine/sys-include"
|
||||
|
||||
# remove the static libstdc++, only the shared one should be used
|
||||
rm -f "$installDir/$haikuMachine/lib/libstdc++.a"
|
||||
|
||||
# remove the sysroot dir
|
||||
rm -rf "$sysrootDir"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user