[debhelper-devel] [debhelper] 02/03: dh_makeshlibs: Avoid duplicates for unversioned SONAMES in compat <= 11

Niels Thykier nthykier at moszumanska.debian.org
Sat Jan 6 20:04:03 UTC 2018


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 911760c59a90cf8dd07a27b899432b3a1603460f
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Jan 6 19:47:30 2018 +0000

    dh_makeshlibs: Avoid duplicates for unversioned SONAMES in compat <= 11
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_makeshlibs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh_makeshlibs b/dh_makeshlibs
index 81007cc..682ca87 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -182,7 +182,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 			$major=$2;
 		} elsif ($ret =~ m/\s+SONAME\s+(?:\S)/) {
 			$unversioned_so = 1;
-			push(@lib_files, $lib_file);
+			push(@lib_files, $lib_file) if not compat(11);
 		}
 
 		if (defined($dh{M_PARAMS}) && $dh{M_PARAMS} ne '') {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list