mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-04-18 16:40:36 +08:00
Using `$CC -print-prog-name=ld` will always use the `ld` linker. We should instead be using the $LD variable so that we use the proper linker. There is already another part of the code that does this same check, so I just copy/pasted the if line. * m4/libtool.m4: Change `$CC -print-prog-name=ld` to $LD. Url: https://savannah.gnu.org/support/?110978 Signed-off-by: Raul E Rangel <rrangel@chromium.org>