From 4a0a7e0df383548303f691f68e397abc9968ccf2 Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Mon, 21 Jul 2025 19:34:31 +0700 Subject: [PATCH] suggestion 2 --- src/SPC/builder/unix/library/libjxl.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/SPC/builder/unix/library/libjxl.php b/src/SPC/builder/unix/library/libjxl.php index 58015668..0ff773a6 100644 --- a/src/SPC/builder/unix/library/libjxl.php +++ b/src/SPC/builder/unix/library/libjxl.php @@ -12,10 +12,6 @@ trait libjxl { public function patchBeforeBuild(): bool { - $depsContent = file_get_contents($this->source_dir . '/deps.sh'); - if (str_contains($depsContent, '# return 0')) { - return false; - } FileSystem::replaceFileStr( $this->source_dir . '/deps.sh', ['return 0', 'download_github third_party/brotli', 'download_github third_party/zlib', 'download_github third_party/libpng'],