From aa48949aa97c4d5bc0fc25b1a2d9b1d148101d89 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 28 Jul 2012 08:30:50 -0400 Subject: Write GNU ld configuration for BFD libraries. --- diff --git a/binutils.pkg.in/install b/binutils.pkg.in/install index bec2bec..2154c1f 100644 --- a/binutils.pkg.in/install +++ b/binutils.pkg.in/install @@ -2,3 +2,4 @@ /usr/lib/*/*.x* /usr/lib/*/*/libbfd-*.so /usr/lib/*/*/libopcodes-*.so +/etc diff --git a/build b/build index ff71153..f37bfd2 100755 --- a/build +++ b/build @@ -92,6 +92,12 @@ install.stamp: build.stamp done \ fi; \ done + # Write GNU ld configuration to point to BFD libraries. + for target in $(PKG_TARGETS); do \ + echo '# GNU BFD libraries' >"dest/etc/ld.so.conf.d/bdf-$${target}" && \ + echo "/usr/lib/$(OH_HOST_ARCH)/$${target}" \ + >>"dest/etc/ld.so.conf.d/bdf-$${target}"; \ + done touch $@ binary-arch: install.stamp -- cgit v0.9.1