dev-libs/libzip: Fix lib path to remove
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 4 Apr 2017 09:00:49 +0000 (11:00 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 4 Apr 2017 09:04:06 +0000 (11:04 +0200)
Reported-by: Dmitry Derevyanko <nrndda@gmail.com>
Gentoo-bug: 614598

Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-libs/libzip/libzip-1.2.0.ebuild

index f141055789a90b1b1ffec7f5c969f7322d90a7a8..e908a010da99b2396472cd0fae94aa6733e8041f 100644 (file)
@@ -34,6 +34,6 @@ src_prepare() {
 
 src_install() {
        default
-       use static-libs || rm "${ED%/}"/usr/lib64/libzip.a || die
+       use static-libs || rm "${ED%/}"/usr/$(get_libdir)/libzip.a || die
        find "${D}" -name '*.la' -delete || die
 }