scripts/build/binutils: Update path for libbfd

As of binutils 2.41 libbfd.a is not placed directly in the output
directory. Fortunately the libtool .libs location seems to have been
in place for some time so we can update the path without worrying about
backwards compatibility.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2023-11-25 18:03:39 +13:00
parent cd0d14697d
commit d91732672e

View File

@ -295,7 +295,7 @@ do_elf2flt_backend() {
--prefix=${prefix} \
--with-bfd-include-dir=${binutils_bld}/bfd \
--with-binutils-include-dir=${binutils_src}/include \
--with-libbfd=${binutils_bld}/bfd/libbfd.a \
--with-libbfd=${binutils_bld}/bfd/.libs/libbfd.a \
--with-libiberty=${binutils_bld}/libiberty/libiberty.a \
--disable-werror \
${elf2flt_opts} \