summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Debian/Debhelper/Dh_Lib.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Debian/Debhelper/Dh_Lib.pm b/lib/Debian/Debhelper/Dh_Lib.pm
index 33187e33..103f2f31 100644
--- a/lib/Debian/Debhelper/Dh_Lib.pm
+++ b/lib/Debian/Debhelper/Dh_Lib.pm
@@ -2718,10 +2718,7 @@ sub perl_cross_incdir {
my $triplet = dpkg_architecture_value("DEB_HOST_MULTIARCH");
my $perl_version = $Config::Config{version};
my $incdir = "/usr/lib/$triplet/perl/cross-config-${perl_version}";
- if (!-e "$incdir/Config.pm") {
- warning("$incdir/Config.pm does not exist (missing build dependency on perl-xs-dev?)");
- return;
- }
+ return undef if !-e "$incdir/Config.pm";
return $incdir;
}