summaryrefslogtreecommitdiff
path: root/dh_perl
diff options
context:
space:
mode:
Diffstat (limited to 'dh_perl')
-rwxr-xr-xdh_perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_perl b/dh_perl
index d43043f..5739ca9 100755
--- a/dh_perl
+++ b/dh_perl
@@ -128,7 +128,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
unless $perl eq 'perl-base' && ! length($version);
# add perlapi-<ver> for XS modules
- addsubstvar($package, "perl:Depends", "perlapi-$Config{version}")
+ addsubstvar($package, "perl:Depends",
+ "perlapi-" . ($Config{debian_abi} || $Config{version}))
if $deps & XS_MODULE;
}