aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2011-08-24 17:23:43 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2011-08-24 17:23:43 +0200
commit5188d847bc3583fd7f7aba572f37fff3794bcedc (patch)
tree6007a03222bdfb1bdd53137c3565fd4bfe7aebe6
parentFix typo in mozilla-app eclass (diff)
downloadsardemff7-5188d847bc3583fd7f7aba572f37fff3794bcedc.tar.gz
sardemff7-5188d847bc3583fd7f7aba572f37fff3794bcedc.tar.bz2
sardemff7-5188d847bc3583fd7f7aba572f37fff3794bcedc.zip
nspr: Fix for static-libs build
-rw-r--r--dev-libs/nspr/nspr-9999.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-libs/nspr/nspr-9999.ebuild b/dev-libs/nspr/nspr-9999.ebuild
index 9945eb6..d7ce940 100644
--- a/dev-libs/nspr/nspr-9999.ebuild
+++ b/dev-libs/nspr/nspr-9999.ebuild
@@ -45,8 +45,8 @@ src_install () {
cd "${S}"/build
emake DESTDIR="${D}" install || die "emake install failed"
+ cd "${ED}"/usr/$(get_libdir)
if ! use static-libs; then
- cd "${ED}"/usr/$(get_libdir)
for file in *.a; do
rm -f ${file} || die "failed to remove static libraries."
done