summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-virtualization/recipes-devtools/python/python-gevent/libev-conf.patch
blob: 283705f808c396d8975a5a232954a49fd6b908a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Due to differences in library locations, the cross compile test can fail because it can't run
the conftest binary (dynamically linked). Building it statically instead.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
---
 libev/configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/libev/configure
+++ b/libev/configure
@@ -2730,7 +2730,7 @@
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_link='$CC -static -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
OpenPOWER on IntegriCloud