summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mk-images3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 856fe3e54..3b480cb4b 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -372,6 +372,9 @@ instbin() {
if [ -f ld-linux.so.2 ]; then
rm -f ld-linux.so.2
linker="$(ls -1 ld-*.*.*.so)"
+ if [ -z "$linker" ]; then
+ linker="$(ls -1 ld-*.*.so)"
+ fi
found=$(echo $linker | wc -l)
if [ $found -ne 1 ]; then
echo "Found too many dynamic linkers:" >&2