summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/ripgrep')
-rw-r--r--sys-apps/ripgrep/ripgrep-11.0.2.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-apps/ripgrep/ripgrep-11.0.2.ebuild b/sys-apps/ripgrep/ripgrep-11.0.2.ebuild
index fb7f5349baa..b01fadb1650 100644
--- a/sys-apps/ripgrep/ripgrep-11.0.2.ebuild
+++ b/sys-apps/ripgrep/ripgrep-11.0.2.ebuild
@@ -95,6 +95,9 @@ BDEPEND="${RDEPEND}
QA_FLAGS_IGNORED="usr/bin/rg"
src_compile() {
+ # allow building on musl with dynamic linking support
+ # https://github.com/BurntSushi/rust-pcre2/issues/7
+ use elibc_musl && export PCRE2_SYS_STATIC=0
cargo_src_compile $(usex pcre "--features pcre2" "")
}