summaryrefslogtreecommitdiff
path: root/dh_dwz
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-16 20:47:37 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-16 20:47:37 +0300
commitbca4e7c5a4716d4fdae6559516256e4eabe3020b (patch)
tree50aafd52459d999572191a720b53ae0b914f8d5b /dh_dwz
parente997d092bb47ed71c50d3454db99ff59648abe76 (diff)
downloaddebhelper-bca4e7c5a4716d4fdae6559516256e4eabe3020b.tar.gz
Disable dh_dwz due to missing dwz and elfutils
Diffstat (limited to 'dh_dwz')
-rwxr-xr-xdh_dwz7
1 files changed, 7 insertions, 0 deletions
diff --git a/dh_dwz b/dh_dwz
index 471930b9..211db24e 100755
--- a/dh_dwz
+++ b/dh_dwz
@@ -11,6 +11,13 @@ use warnings;
use File::Find;
use Debian::Debhelper::Dh_Lib;
+my $deb_host_arch_os = dpkg_architecture_value('DEB_HOST_ARCH_OS');
+if ($deb_host_arch_os ne 'linux')
+{
+ warning("dh_dwz is unsupported on $deb_host_arch_os until elfutils are ported, doing nothing");
+ exit(0);
+}
+
our $VERSION = DH_BUILTIN_VERSION;
=head1 SYNOPSIS