From: Mika Lindqvist Date: Fri, 15 Dec 2023 13:23:52 +0000 (+0100) Subject: Fix pkgcheck mismatch with configure due to cmake target files. X-Git-Tag: 2.1.6~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2baed9faa9437fcd1d0a106da87a540073ad851f;p=thirdparty%2Fzlib-ng.git Fix pkgcheck mismatch with configure due to cmake target files. --- diff --git a/test/pkgcheck.sh b/test/pkgcheck.sh index 94a67a19..94214017 100644 --- a/test/pkgcheck.sh +++ b/test/pkgcheck.sh @@ -150,6 +150,9 @@ Darwin) ;; esac +# Remove cmake target files to avoid mismatch with configure +find pkgtmp2 -type f -name '*.cmake' -exec rm '{}' \; + # The ar on newer systems defaults to -D (i.e. deterministic), # but FreeBSD 12.1, Debian 8, and Ubuntu 14.04 seem to not do that. # I had trouble passing -D safely to the ar inside CMakeLists.txt,