diff options
author | Niels Thykier <niels@thykier.net> | 2018-01-02 08:54:02 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-01-02 08:54:02 +0000 |
commit | 847e5b8a4657323152eb5d224d0b82277a511270 (patch) | |
tree | ccd0cc8fb61f0673782660913e8e9da062594f64 /dh_strip | |
parent | 7844105dbb1eba6220fdcc6394f34da3979f87e9 (diff) | |
download | debhelper-847e5b8a4657323152eb5d224d0b82277a511270.tar.gz |
dh_strip: Do not strip debug symbols in the .build-id dir
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_strip')
-rwxr-xr-x | dh_strip | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -182,6 +182,9 @@ sub testfile { $File::Find::prune = 1 if -d _; return; } + # Ignore the .../debug/.build-id/ directory. It is not really helpful + # to strip debug symbols. + $File::Find::prune = 1 if -d _ && index($fn, '/debug/.build-id/') > -1; return if -d _; # Is it a debug library in a debug subdir? |