summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-27 12:14:20 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-27 12:14:20 (EDT)
commit53525883f7f6b31b00de6b571f404b57a7063d8e (patch)
tree8d49105d6c2752ea3ba655fde2d28bdc76ebcff3
parentd6d61ef14d6e96fde9ee008adc396690aae4a469 (diff)
build: Look for ld.so link in /usr/lib/<target>.
It's a development file, not a critical system file.
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index b8088aa..b196741 100755
--- a/build
+++ b/build
@@ -2,14 +2,14 @@
base_version = $$(printf '%s\n' '$(OPK_SOURCE)' | sed 's/^gcc-//')
-# /lib/<target>/ld.so is a symbolic link for use by GCC to find the system's
+# /usr/lib/<target>/ld.so is a symbolic link for use by GCC to find the system's
# dynamic linker. It should be provided by the development package of any
# standard C library.
# ProteanOS GCC should build binaries with an ELF INTERP field as follows:
# /lib/<target>/<soname>
# <soname> is the SONAME of the target's dynamic linker.
elf_interp = /lib/$(target)/$(elf_interp_soname)
-elf_interp_soname = $$(readelf -d "/lib/$(target)/ld.so" | \
+elf_interp_soname = $$(readelf -d "/usr/lib/$(target)/ld.so" | \
sed -n 's/^.*(SONAME).*\[\([^]]*\)\].*$$/\1/p')
common_opts = \