From c5d467a2ab3b74036bb3835233d4f9e1571d7365 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 7 Sep 2018 13:53:28 -0400 Subject: ci: always force PCRE2 static builds for releases --- ci/before_deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3