summaryrefslogtreecommitdiff
path: root/dh_dwz
diff options
context:
space:
mode:
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