From bbeb2b03b05399065c4320b4d891354f39e83c8e Mon Sep 17 00:00:00 2001 From: dixyes Date: Mon, 14 Oct 2024 23:38:39 +0800 Subject: [PATCH] Disable ossfuzz when building libzip --- linux/libraries/libzip.php | 1 + macos/libraries/libzip.php | 1 + windows/libraries/libzip.php | 1 + 3 files changed, 3 insertions(+) diff --git a/linux/libraries/libzip.php b/linux/libraries/libzip.php index f66cc9d..2063498 100644 --- a/linux/libraries/libzip.php +++ b/linux/libraries/libzip.php @@ -126,6 +126,7 @@ protected function build(): void '-DBUILD_EXAMPLES=OFF ' . '-DBUILD_REGRESS=OFF ' . '-DBUILD_TOOLS=OFF ' . + '-DBUILD_OSSFUZZ=OFF ' . $bzip2 . $xz . $zstd . diff --git a/macos/libraries/libzip.php b/macos/libraries/libzip.php index 2fb8f9a..0fcb018 100644 --- a/macos/libraries/libzip.php +++ b/macos/libraries/libzip.php @@ -97,6 +97,7 @@ protected function build(): void '-DBUILD_EXAMPLES=OFF ' . '-DBUILD_REGRESS=OFF ' . '-DBUILD_TOOLS=OFF ' . + '-DBUILD_OSSFUZZ=OFF ' . $bzip2 . $xz . $zstd . diff --git a/windows/libraries/libzip.php b/windows/libraries/libzip.php index fb3e8f4..a15ee4e 100644 --- a/windows/libraries/libzip.php +++ b/windows/libraries/libzip.php @@ -83,6 +83,7 @@ protected function build(): void '-DBUILD_EXAMPLES=OFF ' . '-DBUILD_REGRESS=OFF ' . '-DBUILD_TOOLS=OFF ' . + '-DBUILD_OSSFUZZ=OFF ' . //'-DCMAKE_C_FLAGS_MINSIZEREL="/MT /O1 /Ob1 /DNDEBUG" ' . '-DCMAKE_INSTALL_PREFIX="' . realpath('deps') . '" ' . "-DCMAKE_TOOLCHAIN_FILE={$this->config->cmakeToolchainFile} " .