blob: 283705f808c396d8975a5a232954a49fd6b908a4 [file] [log] [blame]
Patrick Williamsd849ec72016-08-17 14:59:38 -05001Due 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.