aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip/re/re-3.7.0.ebuild')
-rw-r--r--net-voip/re/re-3.7.0.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/net-voip/re/re-3.7.0.ebuild b/net-voip/re/re-3.7.0.ebuild
index dd6abc01c..67c2e68cf 100644
--- a/net-voip/re/re-3.7.0.ebuild
+++ b/net-voip/re/re-3.7.0.ebuild
@@ -11,4 +11,13 @@ SRC_URI="https://github.com/baresip/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64"
+KEYWORDS="~amd64"
+
+IUSE="static-libs"
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIBRE_BUILD_STATIC=$(usex static-libs ON OFF)
+ )
+ cmake_src_configure
+}