From: Michael Tremer Date: Tue, 31 Dec 2024 18:26:38 +0000 (+0000) Subject: build: Fix ELF check X-Git-Tag: 0.9.30~616 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0140314c782a46ea4e910476659d5e3eca140e13;p=pakfire.git build: Fix ELF check Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/build.c b/src/libpakfire/build.c index 0c0f6c2d2..151126125 100644 --- a/src/libpakfire/build.c +++ b/src/libpakfire/build.c @@ -1239,7 +1239,7 @@ static int pakfire_build_fix_script_interpreter( return 0; // Do not run this on ELF files - else if (pakfire_file_is_elf(file)) + else if (pakfire_file_matches_class(file, PAKFIRE_FILE_ELF)) return 0; // Fix the interpreter