diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch b/meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch new file mode 100644 index 0000000000..b2239fbade --- /dev/null +++ b/meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | If for example you build on a machine with /bin/grep, then restore that sstate | ||
2 | onto a machine with /usr/bin/grep, things will fail. Simply don't bother | ||
3 | hardcoding paths. | ||
4 | |||
5 | RP 2015/2/3 | ||
6 | |||
7 | Index: libtool-2.4.5/libtoolize.in | ||
8 | =================================================================== | ||
9 | --- libtool-2.4.5.orig/libtoolize.in | ||
10 | +++ libtool-2.4.5/libtoolize.in | ||
11 | @@ -40,11 +40,11 @@ | ||
12 | |||
13 | : ${AUTOCONF="autoconf"} | ||
14 | : ${AUTOMAKE="automake"} | ||
15 | -: ${EGREP="@EGREP@"} | ||
16 | -: ${FGREP="@FGREP@"} | ||
17 | -: ${GREP="@GREP@"} | ||
18 | -: ${LN_S="@LN_S@"} | ||
19 | -: ${SED="@SED@"} | ||
20 | +: ${EGREP="egrep"} | ||
21 | +: ${FGREP="fgrep"} | ||
22 | +: ${GREP="grep"} | ||
23 | +: ${LN_S="ln -s"} | ||
24 | +: ${SED="sed"} | ||
25 | |||
26 | |||
27 | ## -------------------------- ## | ||