So, I discovered that if you have your $PATH set so a ld different from
authorRichard Levitte <levitte@openssl.org>
Sat, 17 Aug 2002 13:46:42 +0000 (13:46 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 17 Aug 2002 13:46:42 +0000 (13:46 +0000)
commitf309c1ae50a58f9f4521506b0325de415fb773e0
tree27f1aa26687f471c152025516ec38ebb9dab4671
parent82a20fb0f0134a1762d4559f000292af60f399a3
So, I discovered that if you have your $PATH set so a ld different from
GNU ld comes first, checking the usage of collect2 gives that instead of
GNU ld, even if GNU ld would be the one that would get used if we link using
gcc.  It's much better, apparently, to ask gcc directly what the path to
GNU ld is (provided it's there at all and gcc knows about it), and ask
the result if it's a GNU or not.  The bonus is that our GNU ld detection
mechanism got shorter and easier to understand...
Makefile.org