diff options
Diffstat (limited to 'sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild')
-rw-r--r-- | sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild index 9dbcd8b68..f76f7a44c 100644 --- a/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild +++ b/sys-fs/fsverity-utils/fsverity-utils-1.6.ebuild @@ -19,6 +19,8 @@ HOMEPAGE="https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git" LICENSE="MIT" SLOT="0" +IUSE="static-libs" + DEPEND="dev-libs/openssl:=" RDEPEND="${DEPEND}" @@ -31,4 +33,8 @@ src_compile() { src_install() { emake install CC="$(tc-getCC)" PKGCONF="$(tc-getPKG_CONFIG)" DESTDIR="${D}" \ PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" + + if ! use static-libs ; then + rm "${ED}/usr/$(get_libdir)/libfsverity.a" + fi } |