mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
ci: always force PCRE2 static builds for releases
This commit is contained in:
parent
a62cd553c2
commit
c5d467a2ab
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user