summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-09 08:12:14 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-09 08:12:14 +0000
commit6c7074c750ba4845e8c17a0914ece1d74a9f50dd (patch)
treea75447ad848e457246ca1325a53f8e5f0cf7622b /extra/gcc-uClibc/Makefile
parentd064d3e32bec66e5f8cc474be6fb0b0168f73bee (diff)
Try to automagically pick the correct dynamic linker.
-Erik
Diffstat (limited to 'extra/gcc-uClibc/Makefile')
-rw-r--r--extra/gcc-uClibc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile
index 55649c7c2..adbc06203 100644
--- a/extra/gcc-uClibc/Makefile
+++ b/extra/gcc-uClibc/Makefile
@@ -4,7 +4,8 @@ include $(TOPDIR)Rules.mak
# NOTE: This may need to be modified on each system.
# If your default dynamic linker works, comment this out.
-DYNAMIC_LINKER = /lib/ld-linux.so.1
+#DYNAMIC_LINKER = /lib/ld-linux.so.1
+DYNAMIC_LINKER = $(shell ls /lib/ld*.so.[0-9] | sort | tail -n 1)
UCLIBC_DIR = $(shell (cd ../.. ; /bin/pwd))
GCC_BIN = $(CC)