From 323edefc4b7cb69bcb318745efac4dec9b7ac488 Mon Sep 17 00:00:00 2001 From: Jerry Ma Date: Mon, 15 Jul 2024 00:13:22 +0800 Subject: [PATCH] chore: add prefer-pre-built option for spc download (#921) --- build-static.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-static.sh b/build-static.sh index 7debe7926..26ed4ae4c 100755 --- a/build-static.sh +++ b/build-static.sh @@ -115,7 +115,7 @@ else fi ./bin/spc doctor --auto-fix - ./bin/spc download --with-php="${PHP_VERSION}" --for-extensions="${PHP_EXTENSIONS}" --for-libs="${PHP_EXTENSION_LIBS}" --ignore-cache-sources=php-src + ./bin/spc download --with-php="${PHP_VERSION}" --for-extensions="${PHP_EXTENSIONS}" --for-libs="${PHP_EXTENSION_LIBS}" --ignore-cache-sources=php-src --prefer-pre-built # shellcheck disable=SC2086 ./bin/spc build --debug --enable-zts --build-embed ${extraOpts} "${PHP_EXTENSIONS}" --with-libs="${PHP_EXTENSION_LIBS}" fi