From: Adolf Belka Date: Mon, 28 Nov 2022 13:24:15 +0000 (+0100) Subject: make.sh: Update check for static linked qemu files X-Git-Tag: v2.27-core172~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1985774f80b285b26e1bc6264e8e8724fc7afb91;p=ipfire-2.x.git make.sh: Update check for static linked qemu files - In Arch Linux the file -L command comes up with "static-pie linked" instead of "statically linked" - This patch makes the grep look for either one of those strings. Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 2e49b16738..413d04491e 100755 --- a/make.sh +++ b/make.sh @@ -910,7 +910,7 @@ qemu_find_build_helper_name() { file_is_static() { local file="${1}" - file -L "${file}" 2>/dev/null | grep -q "statically linked" + file -L "${file}" 2>/dev/null | grep -q -e "statically linked" -e "static-pie linked" } update_language_list() {