mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 13:01:29 +01:00
b58a151493
The latter is not just a symlink to the former, but is a small pseudo- library that tells the linker to use the .so.1 version instead. As we do not pass -L to this directory to the linker invocation, the linker thus cannot find it, and so errors out. We rightly do not want the linker doing "magic" things for us that we don't expect, and so even if this one case is fine, we shouldn't allow the linker to take care of this automatically for us when it comes to libroot and other core system functionality, especially as going forward we may indeed add a second libgcc version due to ABI breaks. Instead, link against .so.1 directly. Fixes the build breakage caused by the GCC 7 bump.