]> git.donarmstrong.com Git - debhelper.git/commitdiff
r278: * dh_shlibdeps: detect statically linked binaries and don't pass them to
authorjoey <joey>
Fri, 17 Sep 1999 07:30:33 +0000 (07:30 +0000)
committerjoey <joey>
Fri, 17 Sep 1999 07:30:33 +0000 (07:30 +0000)
     dpkg-shlibdeps.

debian/changelog
dh_shlibdeps

index 5b713caf0397df0ebe6508b605899e1c65a7843e..31ee561adc7041b10f363e886036a502122c07be 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (2.0.49) unstable; urgency=low
+
+  * dh_shlibdeps: detect statically linked binaries and don't pass them to
+    dpkg-shlibdeps.
+
+ -- Joey Hess <joeyh@master.debian.org>  Fri, 17 Sep 1999 00:28:59 -0700
+
 debhelper (2.0.48) unstable; urgency=low
 
   * 4 whole days without a debhelper upload! Can't let that happen. Let's see..
index bd733b370602cf30860e1d92ab5122c3e42f0c5a..cdf1356612a115577e644e4db6524fc95343e127 100755 (executable)
@@ -17,7 +17,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
        foreach $file (split(/\n/,`find $TMP -type f \\( -perm +111 -or -name "*.so*" \\)`)) {
                # TODO: this is slow, optimize. Ie, file can run once on multiple files..
                $ff=`file "$file"`;
-               if ($ff=~m/ELF/) {
+               if ($ff=~m/ELF/ && ! $ff=~/statically linked/) {
                        push @filelist,$file;
                }
        }