From 2bee1e2cffe4a855152cdaf9e8268b2f080e4e29 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 12 Mar 2011 14:04:55 -0400 Subject: avoid depending on a dpkg that has DEB_HOST_MULTIARCH --- dh_makeshlibs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_makeshlibs') 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 () { 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 $_`; -- cgit v1.2.3