summaryrefslogtreecommitdiffstats
path: root/ci/before_deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/before_deploy.sh')
-rwxr-xr-xci/before_deploy.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh
index 68f80bdf..d352a88b 100755
--- a/ci/before_deploy.sh
+++ b/ci/before_deploy.sh
@@ -11,7 +11,9 @@ mk_artifacts() {
if is_arm; then
cargo build --target "$TARGET" --release
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
}