summaryrefslogtreecommitdiff
path: root/dh_strip
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-10-21 14:15:57 +0000
committerNiels Thykier <niels@thykier.net>2017-11-11 08:01:36 +0000
commit901fc1aa308a409ffe8b9b9f937e2e8c25348993 (patch)
treeba86629e2b37eea3fad13092ca8644b639624d6f /dh_strip
parentd17743c412863ac7398a2c76979453ef4ef49a33 (diff)
downloaddebhelper-901fc1aa308a409ffe8b9b9f937e2e8c25348993.tar.gz
Make cross_command package specific
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_strip')
-rwxr-xr-xdh_strip4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_strip b/dh_strip
index 14b5db7d..d7fdc3fe 100755
--- a/dh_strip
+++ b/dh_strip
@@ -312,8 +312,8 @@ my %all_packages = map { $_ => 1 } getpackages();
sub process_packages {
foreach my $package (@_) {
my $tmp=tmpdir($package);
- my $objcopy = cross_command("objcopy");
- my $strip = cross_command("strip");
+ my $objcopy = cross_command($package, "objcopy");
+ my $strip = cross_command($package, "strip");
# Support for keeping the debugging symbols in a detached file.
my $keep_debug=$dh{K_FLAG};