mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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:
parent
8a55dabb05
commit
30502b8693
@ -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
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user