summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-gevent/libev-conf.patch
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2015-02-27 16:01:22 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-03-17 09:46:32 -0400
commit33ea7df40bc5aa9a34f4362e976775be1076e876 (patch)
tree50adc4109dfd5661e071986416cb1c261de673fc /recipes-devtools/python/python-gevent/libev-conf.patch
parent96c56a08f618c7c2a3d31c9e3bc5b341c1ef1c36 (diff)
downloadmeta-virtualization-33ea7df40bc5aa9a34f4362e976775be1076e876.tar.gz
Add python packages needed for docker-registry
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Diffstat (limited to 'recipes-devtools/python/python-gevent/libev-conf.patch')
-rw-r--r--recipes-devtools/python/python-gevent/libev-conf.patch19
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 @@
1Due to differences in library locations, the cross compile test can fail because it can't run
2the conftest binary (dynamically linked). Building it statically instead.
3
4Signed-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.