From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] make.sh: Update check for static linked qemu files Date: Mon, 28 Nov 2022 13:29:39 +0000 Message-ID: <9F76D1ED-D427-4779-853B-D313FE9E1A32@ipfire.org> In-Reply-To: <20221128132415.1572624-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7412489963911789511==" List-Id: --===============7412489963911789511== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Tremer > On 28 Nov 2022, at 13:24, Adolf Belka wrote: >=20 > - In Arch Linux the file -L command comes up with "static-pie linked" inste= ad of > "statically linked" > - This patch makes the grep look for either one of those strings. >=20 > Signed-off-by: Adolf Belka > --- > make.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/make.sh b/make.sh > index c0d1f1d2c..e214fdf3e 100755 > --- a/make.sh > +++ b/make.sh > @@ -910,7 +910,7 @@ qemu_find_build_helper_name() { > file_is_static() { > local file=3D"${1}" >=20 > - 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" > } >=20 > update_language_list() { > --=20 > 2.38.1 >=20 --===============7412489963911789511==--