summaryrefslogtreecommitdiff
path: root/dh_makeshlibs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-03-12 14:04:55 -0400
committerJoey Hess <joey@kitenet.net>2011-03-12 14:04:55 -0400
commit2bee1e2cffe4a855152cdaf9e8268b2f080e4e29 (patch)
tree1f7c7109999b2f3a6957f37fc179452d458cc0cc /dh_makeshlibs
parent95644fe2554738a1c1cf25fae88d4c0c494836d2 (diff)
avoid depending on a dpkg that has DEB_HOST_MULTIARCH
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 5d6f869c..896c5b3e 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 $_`;