Don't rely on stringy comparison of vendor in `ranlib` check
N.B. During development in !9263 (merged) we came across multiple tasks and bugs regarding the configuration script. In preparation of merging it, we're opening tickets for the leftover tasks both regarding the new ghc-toolchain
and the toolchain logic in configure. This is one of those tickets.
Currently GHC.Toolchain.Tools.Ar
and the associated configure
check bother rely on the vendor string from the triple to determine whether ar
needs ranlib
. My sense is that it would be more robust to instead check the operating system.