projects
/
lede-git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools: bootstrap libtool to pickup the correct in-tree automake
[lede-git/.git]
/
tools
/
libtool
/
patches
/
000-relocatable.patch
diff --git
a/tools/libtool/patches/000-relocatable.patch
b/tools/libtool/patches/000-relocatable.patch
index c36b806584ad06d604cc2243b729abd82b2228ae..fcc07f2790665dc4d48ec2b890a2004a02504891 100644
(file)
--- a/
tools/libtool/patches/000-relocatable.patch
+++ b/
tools/libtool/patches/000-relocatable.patch
@@
-1,11
+1,15
@@
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
--- a/libltdl/config/general.m4sh
+++ b/libltdl/config/general.m4sh
-@@ -53,7 +53,
7
@@ test "${ECHO+set}" = set || ECHO=${as_ec
+@@ -53,7 +53,
11
@@ test "${ECHO+set}" = set || ECHO=${as_ec
: ${MKDIR="mkdir"}
: ${MV="mv -f"}
: ${RM="rm -f"}
-: ${SED="@SED@"}
: ${MKDIR="mkdir"}
: ${MV="mv -f"}
: ${RM="rm -f"}
-: ${SED="@SED@"}
-+test "${STAGING_DIR+set}" = set && ${SED="$STAGING_DIR/../host/bin/sed"} || ${SED="@SED@"}
++if test -n "$STAGING_DIR"; then
++ : ${SED="$STAGING_DIR/../host/bin/sed"}
++else
++ : ${SED="@SED@"}
++fi
: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
: ${Xsed="$SED -e 1s/^X//"}
: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
: ${Xsed="$SED -e 1s/^X//"}