summaryrefslogtreecommitdiff
path: root/dh_makeshlibs
diff options
context:
space:
mode:
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-xdh_makeshlibs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs
index 5d6f869..896c5b3 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -150,7 +150,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
while (<FIND>) {
my ($library, $major);
push @lib_files, $_;
- if ($multiarch ne '' && $_ =~ m,/$multiarch/,) {
+ if (defined $multiarch && $multiarch ne '' && m,/$multiarch/,) {
$is_multiarch=1;
}
my $ret=`$objdump -p $_`;