ci: always force PCRE2 static builds for releases

This commit is contained in:
Andrew Gallant 2018-09-07 13:53:28 -04:00
parent a62cd553c2
commit c5d467a2ab
No known key found for this signature in database
GPG Key ID: B2E3A4923F8B0D44

View File

@ -11,7 +11,9 @@ mk_artifacts() {
if is_arm; then if is_arm; then
cargo build --target "$TARGET" --release cargo build --target "$TARGET" --release
else else
cargo build --target "$TARGET" --release --features 'pcre2' # Technically, MUSL builds will force PCRE2 to get statically compiled,
# but we also want PCRE2 statically build for macOS binaries.
PCRE2_SYS_STATIC=1 cargo build --target "$TARGET" --release --features 'pcre2'
fi fi
} }