summaryrefslogtreecommitdiff
path: root/package/which
diff options
context:
space:
mode:
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)