build: Look for ld.bfd
authorMatthias Clasen <mclasen@redhat.com>
Wed, 28 Jun 2023 11:12:07 +0000 (07:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 28 Jun 2023 11:12:07 +0000 (07:12 -0400)
commitf341bd563b1273888f65ffdabd582ac027883b30
treec6f1699b0fae890f5a1021c51479e97820e39b8f
parent70edacc68d2fea8118d306fabda3952bb6147262
build: Look for ld.bfd

The objcopy+ld approach to fast resource building
relies on behavior that is specific to the binutils
linker, and does not work with the llvm one.

Therefore, check for ld.bfd. We still fall back
to trying with just ld, since I'm not 100% sure
if binutils unconditionally installs ld.bfd.

Fixes: #5672
meson.build