diff options
authorYann E. MORIN <>2011-04-23 16:18:34 (GMT)
committer Peter Korsgaard <>2011-04-24 20:37:37 (GMT)
commit4b4e5827a24d8a517038741b681dc077c2f28cf1 (patch)
parentcd58efbac7040c58429b765853306c3e8052e984 (diff)
toolchain/crosstool-NG: correctly copy the dynamic linker
Depending on some setting (which? Arch? Others?), the dynamic linker can get different names. Some times, it is named, other times, it is, and maybe other variants as well... The fix is to always copy ls*.so, even if it is a symlink: we create the destination file by its SONAME, and if ld*.so matches more than one file, that's no issue, as they would all get the same SONAME (being symlinks ones to the others). Split long lines at the same time. Reported-by: Ettore Campion <> Signed-off-by: "Yann E. MORIN" <> Signed-off-by: Peter Korsgaard <>
1 files changed, 4 insertions, 3 deletions
diff --git a/toolchain/toolchain-crosstool-ng/ b/toolchain/toolchain-crosstool-ng/
index e52bdee..015cd13 100644
--- a/toolchain/toolchain-crosstool-ng/
+++ b/toolchain/toolchain-crosstool-ng/
@@ -36,13 +36,14 @@ endef
# The generic system libraries (in /lib)
+CTNG_LIBS_LIB := ld*.so \
# The libc-specific system libraries (in /lib)
# Note: it may be needed to tweak the NSS libs in the glibc and eglibc cases...
-CTNG_LIBS_uClibc :=
-CTNG_LIBS_glibc :=
+CTNG_LIBS_uClibc :=
+CTNG_LIBS_glibc :=
CTNG_LIBS_eglibc := $(CTNG_LIBS_glibc)