diff options
-rw-r--r-- | debhelper.pod | 5 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | dh_strip | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/debhelper.pod b/debhelper.pod index 65616e39..72234ca7 100644 --- a/debhelper.pod +++ b/debhelper.pod @@ -509,6 +509,11 @@ they are already set. They support DEB_BUILD_OPTIONS=noopt too. B<dh_auto_configure> passes CFLAGS to perl F<Makefile.PL> and F<Build.PL> +=item - + +B<dh_strip> puts separated debug symbols in a location based on their +build-id. + =back =back diff --git a/debian/changelog b/debian/changelog index 74f5bc40..43c9d4a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,7 @@ debhelper (8.9.13) UNRELEASED; urgency=low * Pass CPPFLAGS to qmake. Closes: #646129 Thanks, Felix Geyert - * dh_strip: Use build-id in /usr/lib/debug. + * dh_strip: Use build-id in /usr/lib/debug in v9. Closes: #642158 Thanks, Jakub Wilk * Spanish translation update. Closes: #636245 Thanks, Omar Campagne @@ -162,8 +162,8 @@ sub make_debug { my ($base_file)=$file=~/^\Q$tmp\E(.*)/; my $debug_path; - my $elfnotes=`readelf -n $file`; - if ($elfnotes =~ /^\s+Build ID: ([0-9a-f]{2})([0-9a-f]+)$/m) { + if (! compat(8) && + `readelf -n $file`=~ /^\s+Build ID: ([0-9a-f]{2})([0-9a-f]+)$/m) { $debug_path=$desttmp."/usr/lib/debug/.build-id/$1/$2.debug" } else { |