sys-libs/libudev-zero: Pass LIBDIR to emake for glibc systems

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2026-03-17 11:46:09 +01:00
parent 63da2d2b23
commit 566a31ff01

View File

@@ -23,6 +23,10 @@ src_compile() {
} }
src_install() { src_install() {
emake DESTDIR="${D}" PREFIX=/usr install-shared local makeflags=(
use static-libs && emake DESTDIR="${D}" PREFIX=/usr install-static DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/"$(get_libdir)"
)
emake "${makeflags[@]}" install-shared
use static-libs && emake "${makeflags[@]}" install-static
} }