diff options
author | joey <joey> | 2000-08-20 23:30:30 +0000 |
---|---|---|
committer | joey <joey> | 2000-08-20 23:30:30 +0000 |
commit | a4664178e1e455907c0ae2c9caf089ee6b8d0cc2 (patch) | |
tree | 53d8829a139220f38a45e1dd7fd130fd4119aead /dh_strip | |
parent | e3ad4ff22366c7e521d51a1464d233e9b8e849b2 (diff) | |
download | debhelper-a4664178e1e455907c0ae2c9caf089ee6b8d0cc2.tar.gz |
r366: * dh_strip: now knows about the DEB_BUILD_OPTIONS=nostrip thing.
Diffstat (limited to 'dh_strip')
-rwxr-xr-x | dh_strip | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,11 @@ use File::Find; use Debian::Debhelper::Dh_Lib; init(); +# This variable can be used to turn off stripping (see Policy). +if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nostrip/) { + exit; +} + # Check if a file is an elf binary, shared library, or static library, # for use by File::Find. It'll fill the following 3 arrays with anything # it finds: |