mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
dev-libs/nanopb: Fix .a files being installed without USE=static-libs
Signed-off-by: Vincent Ahluwalia <vincentahluwalia@protonmail.com> Closes: https://bugs.gentoo.org/950636
This commit is contained in:
@@ -19,7 +19,7 @@ fi
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
IUSE="+pb-malloc test"
|
||||
IUSE="+pb-malloc static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
@@ -38,6 +38,10 @@ src_configure() {
|
||||
if is-flagq "-flto" ; then
|
||||
append-cflags "-fno-use-linker-plugin -fwhole-program"
|
||||
fi
|
||||
local mycmakeargs=(
|
||||
DBUILD_SHARED_LIBS=$(usex !static-libs)
|
||||
DBUILD_STATIC_LIBS=$(usex static-libs)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user