Skip to content

Commit

Permalink
chore: add prefer-pre-built option for spc download (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywhalecc committed Jul 14, 2024
1 parent a657222 commit 323edef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 323edef

Please sign in to comment.