diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool/prefix.patch')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool/prefix.patch | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-devtools/libtool/libtool/prefix.patch b/meta/recipes-devtools/libtool/libtool/prefix.patch index 1b20324715..e6eca1fe02 100644 --- a/meta/recipes-devtools/libtool/libtool/prefix.patch +++ b/meta/recipes-devtools/libtool/libtool/prefix.patch | |||
@@ -8,6 +8,15 @@ Originally by: RP | |||
8 | Updated: Date: 2010/06/28 | 8 | Updated: Date: 2010/06/28 |
9 | Nitin A Kamble <nitin.a.kamble@intel.com> | 9 | Nitin A Kamble <nitin.a.kamble@intel.com> |
10 | 10 | ||
11 | It also adjusts libtool so that the header at the script is used for | ||
12 | script execution and not thevalue of $SHELL. This is because many | ||
13 | Makefiles change $SHELL so dash can get used to execute what is | ||
14 | otherwise configured as a bash shell script. Since we don't need to | ||
15 | execute scipts this way on any system I'm aware of us building upon, | ||
16 | the simplest fix is just to remove $SHELL. | ||
17 | |||
18 | Updated: Date: 2011/11/09 | ||
19 | RP | ||
11 | 20 | ||
12 | Index: libtool-2.4/libltdl/m4/libtool.m4 | 21 | Index: libtool-2.4/libltdl/m4/libtool.m4 |
13 | =================================================================== | 22 | =================================================================== |
@@ -18,7 +27,7 @@ Index: libtool-2.4/libltdl/m4/libtool.m4 | |||
18 | 27 | ||
19 | # Always use our own libtool. | 28 | # Always use our own libtool. |
20 | -LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 29 | -LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
21 | +LIBTOOL='$(SHELL) $(top_builddir)' | 30 | +LIBTOOL='$(top_builddir)' |
22 | +LIBTOOL="$LIBTOOL/${host_alias}-libtool" | 31 | +LIBTOOL="$LIBTOOL/${host_alias}-libtool" |
23 | AC_SUBST(LIBTOOL)dnl | 32 | AC_SUBST(LIBTOOL)dnl |
24 | 33 | ||