[projects/cleanbuild] add cleanup-la to repo

glen glen at pld-linux.org
Wed Jun 14 20:33:44 CEST 2017


commit 2cccf9820ccd7acdbb66dda2ca1318e62e684918
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Jun 14 21:33:03 2017 +0300

    add cleanup-la to repo
    
    forgotten from a6742819

 cleanup-la | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/cleanup-la b/cleanup-la
new file mode 100755
index 0000000..d538cfe
--- /dev/null
+++ b/cleanup-la
@@ -0,0 +1,6 @@
+#!/bin/sh
+root=$1
+find $root/usr/lib{,64} -name "*.la" -print0 | xargs -0 grep -El "dependency_libs='.+'"
+
+# it's important this script does not fail if no matches found
+exit 0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/2cccf9820ccd7acdbb66dda2ca1318e62e684918



More information about the pld-cvs-commit mailing list