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:
Augustin Cavalier
2019-06-15 15:42:13 -04:00
parent 4d0fd41d24
commit 9bb9cc8896
+3
View File
@@ -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"