]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix pkgcheck mismatch with configure due to cmake target files.
authorMika Lindqvist <postmaster@raasu.org>
Fri, 15 Dec 2023 13:23:52 +0000 (14:23 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 15 Dec 2023 16:46:05 +0000 (17:46 +0100)
test/pkgcheck.sh

index 94a67a191e6ea81555937e1c8bce9a5f51c0a95e..942140179ebf3c71189ab40f4fc93bd2fb46f903 100644 (file)
@@ -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,