summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-07-28 08:30:50 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-07-28 08:31:41 (EDT)
commitaa48949aa97c4d5bc0fc25b1a2d9b1d148101d89 (patch)
tree4263d0c332ebba817d938132eb9964cb41e38b47 /build
parentce4e1cb554f6cac572945e1d4223c75211009ce6 (diff)
Write GNU ld configuration for BFD libraries.
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 6 insertions, 0 deletions
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