diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-11-19 17:17:56 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-11-19 17:17:56 +0000 |
commit | 4f889ada561fbdffeefa1a8327d5b8939b021685 (patch) | |
tree | 925b247ee7718930f470b2c1843cb15e80a045dd /make/libtool.mk | |
parent | 93b677ea4256da1236ae5c4a14b78010e60266d9 (diff) | |
download | buildroot-novena-4f889ada561fbdffeefa1a8327d5b8939b021685.tar.gz buildroot-novena-4f889ada561fbdffeefa1a8327d5b8939b021685.zip |
automatically detect if we have a usable version of sed
installed. If not, we will now build our own version.
Diffstat (limited to 'make/libtool.mk')
-rw-r--r-- | make/libtool.mk | 4 |
1 files changed, 2 insertions, 2 deletions
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 |