summaryrefslogtreecommitdiff
path: root/package/which
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-07-22 13:59:39 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-07-22 13:59:39 +0000
commit181fc86c502cf8f8a3415d9c6aa7ec2965bf6556 (patch)
tree714b62269aaab85a0f6e3f645b0b8fc3a649dd25 /package/which
parent367a7344bf182ce9b6283ec3516d2d0ad3b4ba79 (diff)
which: strip target binary
Diffstat (limited to 'package/which')
-rw-r--r--package/which/which.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/which/which.mk b/package/which/which.mk
index 87254236e..bd0fd5ab0 100644
--- a/package/which/which.mk
+++ b/package/which/which.mk
@@ -37,7 +37,8 @@ $(WHICH_DIR)/$(WHICH_BINARY): $(WHICH_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(WHICH_DIR)
$(TARGET_DIR)/$(WHICH_TARGET_BINARY): $(WHICH_DIR)/$(WHICH_BINARY)
- install -D $(WHICH_DIR)/$(WHICH_BINARY) $(TARGET_DIR)/$(WHICH_TARGET_BINARY)
+ install -D $^ $@
+ $(STRIPCMD) $(STRIP_STRIP_ALL) $@
which: uclibc $(TARGET_DIR)/$(WHICH_TARGET_BINARY)