]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - make.sh
make.sh: Follow symlinks when checking if QEMU is static
[people/pmueller/ipfire-2.x.git] / 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() {