sys-apps/dtc: Sync with Gentoo

It's from Gentoo commit 0428966db63c13fc0142f0500e5c44895793eb37.
This commit is contained in:
Flatcar Buildbot 2023-09-25 07:15:38 +00:00 committed by Krzesimir Nowak
parent f1f4dae538
commit 6186705195
2 changed files with 6 additions and 2 deletions

View File

@ -63,12 +63,14 @@ src_prepare() {
src_configure() {
local emesonargs=(
-Ddefault_library=$(usex static-libs both shared)
-Dtools=true
-Dvalgrind=disabled # only used for some tests
$(meson_feature python)
$(meson_feature yaml)
)
# bug #909366
use static-libs && emesonargs+=( -Dstatic-build=true )
meson_src_configure
}

View File

@ -58,12 +58,14 @@ src_prepare() {
src_configure() {
local emesonargs=(
-Ddefault_library=$(usex static-libs both shared)
-Dtools=true
-Dvalgrind=disabled # only used for some tests
$(meson_feature python)
$(meson_feature yaml)
)
# bug #909366
use static-libs && emesonargs+=( -Dstatic-build=true )
meson_src_configure
}