summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libpsl')
-rw-r--r--net-libs/libpsl/libpsl-0.21.5.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-libs/libpsl/libpsl-0.21.5.ebuild b/net-libs/libpsl/libpsl-0.21.5.ebuild
index 797883568aa8..9ca8c1d70d9c 100644
--- a/net-libs/libpsl/libpsl-0.21.5.ebuild
+++ b/net-libs/libpsl/libpsl-0.21.5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${PV}/${P}.tar.gz
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="icu +idn test"
+IUSE="icu +idn test static-libs"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -58,5 +58,11 @@ multilib_src_configure() {
)
fi
+ if use static-libs ; then
+ emesonargs+=(
+ -Ddefault_library=both
+ )
+ fi
+
meson_src_configure
}