use correct STRIP in wtools Makefile when cross-building
authorNed Ludd <solar@gentoo.org>
Tue, 23 Nov 2004 22:58:57 +0000 (22:58 -0000)
committerNed Ludd <solar@gentoo.org>
Tue, 23 Nov 2004 22:58:57 +0000 (22:58 -0000)
package/wtools/wtools.mk

index 950eafe79b5479a5eda8ab7cb58c04a506e278b7..1d1043768a5e596f5c726a0b5845cc9d798ba60c 100644 (file)
@@ -20,6 +20,7 @@ $(DL_DIR)/$(WTOOLS_SOURCE):
 
 $(WTOOLS_BUILD_DIR)/.unpacked: $(DL_DIR)/$(WTOOLS_SOURCE)
        zcat $(DL_DIR)/$(WTOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+       sed -i -e s:'strip':'$(STRIP)':g $(WTOOLS_BUILD_DIR)/Makefile
        touch $(WTOOLS_BUILD_DIR)/.unpacked
 
 $(WTOOLS_BUILD_DIR)/.configured: $(WTOOLS_BUILD_DIR)/.unpacked