diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-16 20:47:37 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-16 20:47:37 +0300 |
commit | bca4e7c5a4716d4fdae6559516256e4eabe3020b (patch) | |
tree | 50aafd52459d999572191a720b53ae0b914f8d5b | |
parent | e997d092bb47ed71c50d3454db99ff59648abe76 (diff) | |
download | debhelper-bca4e7c5a4716d4fdae6559516256e4eabe3020b.tar.gz |
Disable dh_dwz due to missing dwz and elfutils
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | dh_dwz | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/control b/debian/control index e2574f68..3b2db249 100644 --- a/debian/control +++ b/debian/control @@ -29,7 +29,7 @@ Depends: autotools-dev, # dbgsym support landed in 1.18.0, 1.18.2 fixes a related nasty bug. dpkg (>= 1.18.0~), dpkg-dev (>= 1.18.2~), - dwz, +# dwz, file (>= 3.23), libdpkg-perl (>= 1.17.14), man-db, @@ -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 |