From 4f889ada561fbdffeefa1a8327d5b8939b021685 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 19 Nov 2003 17:17:56 +0000 Subject: automatically detect if we have a usable version of sed installed. If not, we will now build our own version. --- make/libtool.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/libtool.mk') diff --git a/make/libtool.mk b/make/libtool.mk index 47f23aaf4..fbe1fb663 100644 --- a/make/libtool.mk +++ b/make/libtool.mk @@ -61,8 +61,8 @@ $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY): $(LIBTOOL_DIR)/$(LIBTOOL_BINARY) includedir=$(TARGET_DIR)/usr/include \ -C $(LIBTOOL_DIR) install; $(STRIP) $(TARGET_DIR)//usr/lib/libltdl.so.*.*.* > /dev/null 2>&1 - sed -i -e "s,^CC.*,CC=\"/usr/bin/gcc\"," $(TARGET_DIR)/usr/bin/libtool - sed -i -e "s,^LD.*,LD=\"/usr/bin/ld\"," $(TARGET_DIR)/usr/bin/libtool + $(SED) "s,^CC.*,CC=\"/usr/bin/gcc\"," $(TARGET_DIR)/usr/bin/libtool + $(SED) "s,^LD.*,LD=\"/usr/bin/ld\"," $(TARGET_DIR)/usr/bin/libtool rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc -- cgit v1.2.3