sys-apps/ripgrep: Do not force static linking on musl

Closes: https://bugs.gentoo.org/922372
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-03-26 10:02:52 +01:00
parent 7ffa3abbd9
commit ba6c5e1f30

View File

@@ -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