summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_perl b/dh_perl
index d43043fa..5739ca9f 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;
}