[gtk+] Some people use a hacked libtool that doesn't even install .la files



commit 34916b01ecb9df19300245bf4b46608a4705a7d6
Author: Tor Lillqvist <tml iki fi>
Date:   Mon Apr 12 13:40:43 2010 +0300

    Some people use a hacked libtool that doesn't even install .la files

 sanitize-la.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/sanitize-la.sh b/sanitize-la.sh
index 9bc0ba2..0f8cb63 100755
--- a/sanitize-la.sh
+++ b/sanitize-la.sh
@@ -1,3 +1,6 @@
 #!/bin/sh
 
-sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1
+if [ -f $1 ]; then
+    sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1
+fi
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]