Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=bmf.git;a=commitdiff;h=324d40102cb7877bdbd7823789db0b6027d5d8b3

commit 324d40102cb7877bdbd7823789db0b6027d5d8b3
Author: crazy <[email protected]>
Date:   Fri Dec 25 20:10:24 2015 +0100

util.sh
* added test version of __kill_libtool_dependency_libs
* let me test some stuff

diff --git a/source/include/util.sh b/source/include/util.sh
index 1380055..e74f2b9 100644
--- a/source/include/util.sh
+++ b/source/include/util.sh
@@ -1098,6 +1098,13 @@ Fnant() {
fi
}

+__kill_libtool_dependency_libs() {
+
+       if [ ! "`check_option LIBTOOL`" ]; then
+               find $Fdestdir -type f -name "*.la" | xargs sed -i 
"s/^dependency_libs=.*/dependency_libs=''/" || Fdie
+       fi
+}
+
###
# * Fmakeinstall(): A wrapper to make install. Calls make DESTDIR=$Fdestir or
# prefix=$Fdestdir/usr install (which is necessary). Also handles python's
@@ -1154,6 +1161,8 @@ Fmakeinstall() {
Frcd2 $_F_rcd_name
fi
fi
+
+       __kill_libtool_dependency_libs
}

###
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to