34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
configure was supposed to execute compiled testing binaries.
|
|
|
|
However, when it comes to cross compiling, the script chooses to exit
|
|
and interrupt the building.
|
|
|
|
Skipping execution is preferred to quitting in this case.
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -20460,10 +20460,7 @@
|
|
|
|
if test "$cross_compiling" = yes
|
|
then :
|
|
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
-as_fn_error $? "cannot run test program while cross compiling
|
|
-See \`config.log' for more details" "$LINENO" 5; }
|
|
+ :
|
|
else $as_nop
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
@@ -22915,10 +22912,7 @@
|
|
LIBS="$LIBS -L${sambalibdir} -lidmap-samba4 -Wl,-rpath ${sambalibdir}"
|
|
if test "$cross_compiling" = yes
|
|
then :
|
|
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
-as_fn_error $? "cannot run test program while cross compiling
|
|
-See \`config.log' for more details" "$LINENO" 5; }
|
|
+ :
|
|
else $as_nop
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|