diff options
Diffstat (limited to 'recipes-devtools/python/python-gevent/libev-conf.patch')
| -rw-r--r-- | recipes-devtools/python/python-gevent/libev-conf.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-gevent/libev-conf.patch b/recipes-devtools/python/python-gevent/libev-conf.patch new file mode 100644 index 00000000..283705f8 --- /dev/null +++ b/recipes-devtools/python/python-gevent/libev-conf.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | Due to differences in library locations, the cross compile test can fail because it can't run | ||
| 2 | the conftest binary (dynamically linked). Building it statically instead. | ||
| 3 | |||
| 4 | Signed-off-by: Amy Fong <amy.fong@windriver.com> | ||
| 5 | --- | ||
| 6 | libev/configure | 2 +- | ||
| 7 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 8 | |||
| 9 | --- a/libev/configure | ||
| 10 | +++ b/libev/configure | ||
| 11 | @@ -2730,7 +2730,7 @@ | ||
| 12 | ac_ext=c | ||
| 13 | ac_cpp='$CPP $CPPFLAGS' | ||
| 14 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 15 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 16 | +ac_link='$CC -static -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 17 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 18 | if test -n "$ac_tool_prefix"; then | ||
| 19 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
