net-libs/libpsl: Added static-libs flag

[Eli: This flag is useful to add because curl supports static-libs and
depends on libpsl.]

Signed-off-by: Tomas Fabrizio Orsi <torsi@fi.uba.ar>
Closes: https://github.com/gentoo/gentoo/pull/38910
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Tomas Fabrizio Orsi
2024-10-08 21:03:26 -03:00
committed by Eli Schwartz
parent 604490a935
commit 2b670ebb73

View File

@@ -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
}