]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_makeshlibs
Removed old example rules files.
[debhelper.git] / dh_makeshlibs
index 5d6f869cb1442cd901a496743c1863a3929d51f7..9880211df100f02f71b7e95ba18a215a24a7bf26 100755 (executable)
@@ -21,6 +21,11 @@ libraries, and generates a shlibs file for the libraries it finds.
 It also adds a call to ldconfig in the F<postinst> and F<postrm> scripts (in
 v3 mode and above only) to any packages in which it finds shared libraries.
 
+In v9 mode and above, packages that support multiarch are detected, and
+a Pre-Dependency on multiarch-support is set in ${misc:Pre-Depends} ;
+you should make sure to put that token into an appropriate place in your
+debian/control file for packages supporting multiarch.
+
 =head1 FILES
 
 =over 4
@@ -150,7 +155,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 $_`;