]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
make.sh: Follow symlinks when checking if QEMU is static
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Feb 2022 12:51:22 +0000 (12:51 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 22 Feb 2022 19:41:38 +0000 (19:41 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 86e36d41daa1240b693bd294da86d308e428cf48..ed8cd260edfb668c139615392e5d03aa643f8299 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -912,7 +912,7 @@ qemu_find_build_helper_name() {
 file_is_static() {
        local file="${1}"
 
-       file ${file} 2>/dev/null | grep -q "statically linked"
+       file -L "${file}" 2>/dev/null | grep -q "statically linked"
 }
 
 update_language_list() {