diff options
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs index 66781c7e..1e48146c 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -12,7 +12,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { doit("rm", "-f", "$TMP/DEBIAN/shlibs"); - open (FIND, "find $TMP -xtype f -name '*.so.*' |"); + open (FIND, "find $TMP -xtype f -name '*.so*' |"); while (<FIND>) { chomp; ($library, $major)=m#.*/(.*)\.so\.(\d*)\.?#; @@ -34,7 +34,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $deps="$PACKAGE (>= $dh{VERSION})"; } } - if (defined($library) && defined($major) && defined($deps) && + if (defined($library) && defined($major) && defined($deps) && $library ne '' && $major ne '' && $deps ne '') { # Prevent duplicate lines from entering the file. my $line="$library $major $deps"; |