make.sh: Follow symlinks when checking if QEMU is static

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-02-22 12:51:22 +00:00
committed by Peter Müller
parent 7be78b4cac
commit 2ab6dac771

View File

@@ -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() {