summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xdh_shlibdeps2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 96f26a45..477443be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ debhelper (10.5) UNRELEASED; urgency=medium
permits it.
* dh_installchangelogs: Ditto.
* dh_compress: Ditto
+ * dh_shlibdeps: Avoid calling file(1) on debug symbols.
[ Iain Lane ]
* Dh_Lib: Re-add warning + exit 0 for the -i/-a shortcut that was
diff --git a/dh_shlibdeps b/dh_shlibdeps
index d5dd50e1..65c1ebec 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -117,7 +117,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
foreach my $file (split(/\n/,`find $tmp -type f \\( -perm /111 -or -name "*.so*" -or -name "*.cmxs" -or -name "*.node" \\) $find_options -print`)) {
# Prune directories that contain separated debug symbols.
- next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul)/!;
+ next if $file=~m!^\Q$tmp\E/usr/lib/debug/!;
# TODO this is slow, optimize. Ie, file can run once on
# multiple files..
$ff=`file "$file"`;