diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 10:17:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 10:17:27 +0000 |
commit | 7b3d5890037484a6ee4573744869f28301902a8b (patch) | |
tree | 421062658afbf3303827539a888f86d5f73432ba /dh_makeshlibs | |
parent | Releasing progress-linux version 13.16-0.0~progress7.99u1. (diff) | |
download | debhelper-7b3d5890037484a6ee4573744869f28301902a8b.tar.xz debhelper-7b3d5890037484a6ee4573744869f28301902a8b.zip |
Merging upstream version 13.17.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs index 32c634d..9b2ba0c 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -208,6 +208,7 @@ Generates a shlibs file that looks something like: =cut my ($shlibs_udeb, %known_udeb_solibs); +my %PKGFILE_OPTS = ( 'named' => 0, 'support-architecture-restriction' => 1); init(options => { "m=s", => \$dh{M_PARAMS}, @@ -282,6 +283,8 @@ sub _all_so_files { return @so_file_data; } +# INTROSPECTABLE: CONFIG-FILES pkgfile(shlibs) pkgfile(symbols) + foreach my $package (@{$dh{DOPACKAGES}}) { next if is_udeb($package); @@ -293,7 +296,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # each other, we need to make these local. my $v_flag_set = $dh{V_FLAG_SET}; my $v_flag = $dh{V_FLAG} // ''; - my $shlibs_file = pkgfile($package, 'shlibs'); + my $shlibs_file = pkgfile(\%PKGFILE_OPTS, $package, 'shlibs'); rm_files("$tmp/DEBIAN/shlibs"); @@ -429,7 +432,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } # dpkg-gensymbols files - my $symbols=pkgfile($package, "symbols"); + my $symbols = pkgfile(\%PKGFILE_OPTS, $package, "symbols"); if (-e $symbols) { my @liblist; if (! compat(7)) { |