diff options
Diffstat (limited to 'meta/recipes-support/libffi/libffi/not-win32.patch')
-rw-r--r-- | meta/recipes-support/libffi/libffi/not-win32.patch | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/meta/recipes-support/libffi/libffi/not-win32.patch b/meta/recipes-support/libffi/libffi/not-win32.patch index 86a7fc9e40..62daaf4b38 100644 --- a/meta/recipes-support/libffi/libffi/not-win32.patch +++ b/meta/recipes-support/libffi/libffi/not-win32.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From 306719369a0d3608b4ff2737de74ae284788a14b Mon Sep 17 00:00:00 2001 | ||
2 | From: Ross Burton <ross.burton@intel.com> | ||
3 | Date: Thu, 4 Feb 2016 16:22:50 +0000 | ||
4 | Subject: [PATCH] libffi: ensure sysroot paths are not in libffi.pc | ||
5 | |||
1 | libffi's configure assumes that cross-compiled builds are complicated and | 6 | libffi's configure assumes that cross-compiled builds are complicated and |
2 | introduces convoluted path manipulation involving gcc search paths to the | 7 | introduces convoluted path manipulation involving gcc search paths to the |
3 | install paths, resulting in paths like -L/usr/lib/../lib/ appearing in | 8 | install paths, resulting in paths like -L/usr/lib/../lib/ appearing in |
@@ -11,9 +16,15 @@ As this block is generally pointless, disable it. | |||
11 | Upstream-Status: Inappropriate | 16 | Upstream-Status: Inappropriate |
12 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 17 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
13 | 18 | ||
19 | --- | ||
20 | configure.ac | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/configure.ac b/configure.ac | ||
24 | index b764368..d51ce91 100644 | ||
14 | --- a/configure.ac | 25 | --- a/configure.ac |
15 | +++ b/configure.ac | 26 | +++ b/configure.ac |
16 | @@ -350,7 +350,7 @@ AC_ARG_ENABLE(multi-os-directory, | 27 | @@ -354,7 +354,7 @@ AC_ARG_ENABLE(multi-os-directory, |
17 | 28 | ||
18 | # These variables are only ever used when we cross-build to X86_WIN32. | 29 | # These variables are only ever used when we cross-build to X86_WIN32. |
19 | # And we only support this with GCC, so... | 30 | # And we only support this with GCC, so... |
@@ -21,4 +32,4 @@ Signed-off-by: Ross Burton <ross.burton@intel.com> | |||
21 | +if false; then | 32 | +if false; then |
22 | if test -n "$with_cross_host" && | 33 | if test -n "$with_cross_host" && |
23 | test x"$with_cross_host" != x"no"; then | 34 | test x"$with_cross_host" != x"no"; then |
24 | toolexecdir="${exec_prefix}"/'$(target_alias)' | 35 | toolexecdir='${exec_prefix}'/'$(target_alias)' |