[elbe-devel] [PATCH] Only find x86_64 version of ld-config
Bastian Germann
bage at linutronix.de
Fri Dec 2 15:50:28 CET 2022
We only support x64_64 as SDK host anyway and the filename has not changed
for several Debian releases.
This prevents other ld-config interpreters showing up as arguments for
patchelf --set-interpreter.
Signed-off-by: Bastian Germann <bage at linutronix.de>
---
elbepack/makofiles/toolchain-shar-extract.sh.mako | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/makofiles/toolchain-shar-extract.sh.mako b/elbepack/makofiles/toolchain-shar-extract.sh.mako
index 6e07edba6a..dbc1ba48e8 100644
--- a/elbepack/makofiles/toolchain-shar-extract.sh.mako
+++ b/elbepack/makofiles/toolchain-shar-extract.sh.mako
@@ -282,7 +282,7 @@ fi
# fix dynamic loader paths in all ELF SDK binaries
native_sysroot=$target_sdk_dir/sysroots/host
-dl_path=$($SUDO_EXEC find -H $native_sysroot/lib -name "ld-linux*")
+dl_path=$($SUDO_EXEC find -H $native_sysroot/lib -name "ld-linux-x86-64*")
if [ "$dl_path" = "" ] ; then
echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!"
exit 1
--
2.30.2
More information about the elbe-devel
mailing list