dev-libs/capstone: Add USE=static-libs

Closes: https://bugs.gentoo.org/964775
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/45229
Closes: https://github.com/gentoo/gentoo/pull/45229
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mario Haustein 2026-01-02 00:00:17 +01:00 committed by Sam James
parent 8a55dabb05
commit 30502b8693
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -72,7 +72,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=true
-DBUILD_STATIC_LIBS=false
-DBUILD_STATIC_LIBS="$(usex static-libs)"
-DCAPSTONE_BUILD_TESTS="$(usex test)"
)
cmake_src_configure

View File

@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -71,7 +71,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DCAPSTONE_BUILD_SHARED_LIBS=true
-DCAPSTONE_BUILD_STATIC_LIBS=false
-DCAPSTONE_BUILD_STATIC_LIBS="$(usex static-libs)"
)
cmake_src_configure

View File

@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -71,7 +71,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DCAPSTONE_BUILD_SHARED_LIBS=true
-DCAPSTONE_BUILD_STATIC_LIBS=false
-DCAPSTONE_BUILD_STATIC_LIBS="$(usex static-libs)"
)
cmake_src_configure

View File

@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -73,7 +73,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DCAPSTONE_BUILD_SHARED_LIBS=true
-DCAPSTONE_BUILD_STATIC_LIBS=false
-DCAPSTONE_BUILD_STATIC_LIBS="$(usex static-libs)"
)
cmake_src_configure