diff options
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/libarchive-qt/libarchive-qt-9999.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app-arch/libarchive-qt/libarchive-qt-9999.ebuild b/app-arch/libarchive-qt/libarchive-qt-9999.ebuild index 39ebdda53..74abd09fd 100644 --- a/app-arch/libarchive-qt/libarchive-qt-9999.ebuild +++ b/app-arch/libarchive-qt/libarchive-qt-9999.ebuild @@ -20,6 +20,7 @@ fi RESTRICT="test" LICENSE="LGPL-3" SLOT="0" +IUSE="static-libs" DEPEND=" app-arch/libarchive[lzma,bzip2,zlib] @@ -29,3 +30,10 @@ DEPEND=" dev-qt/qtgui:5 " RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DINSTALL_STATIC=$(usex static-libs) + ) + cmake_src_configure +} |