summaryrefslogtreecommitdiffstats
path: root/dh_makeshlibs
diff options
context:
space:
mode:
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-xdh_makeshlibs7
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)) {