summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/ripgrep/ripgrep-14.1.0.ebuild')
-rw-r--r--sys-apps/ripgrep/ripgrep-14.1.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/ripgrep/ripgrep-14.1.0.ebuild b/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
index 2d41fa4ab080..97d8367a346e 100644
--- a/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
+++ b/sys-apps/ripgrep/ripgrep-14.1.0.ebuild
@@ -81,6 +81,12 @@ BDEPEND="
QA_FLAGS_IGNORED="usr/bin/rg"
+src_prepare() {
+ default
+ # unforce static linking on musl
+ rm .cargo/config.toml || die
+}
+
src_configure() {
# allow building on musl with dynamic linking support
# https://github.com/BurntSushi/rust-pcre2/issues/7