mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 12:08:43 -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:
parent
01859eedd9
commit
14da9d0b7e
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user