mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
build: When cross compiling, don't require host binaries if tests are not enabled
These binaries are now only used by the test suite. glib-genmarshal *used* to be required to generate marshallers, but isn't anymore now that we use libffi (via g_cclosure_marshal_generic). https://bugzilla.gnome.org/show_bug.cgi?id=667806
This commit is contained in:
parent
f084b60377
commit
4b98c512df
@ -2568,7 +2568,7 @@ dnl ******************************************************************
|
|||||||
|
|
||||||
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
|
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
|
||||||
|
|
||||||
if test $cross_compiling = yes; then
|
if test $cross_compiling = yes && test x$enable_modular_tests = xyes; then
|
||||||
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal, no)
|
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal, no)
|
||||||
if test x$GLIB_GENMARSHAL = xno; then
|
if test x$GLIB_GENMARSHAL = xno; then
|
||||||
AC_MSG_ERROR(Could not find a glib-genmarshal in your PATH)
|
AC_MSG_ERROR(Could not find a glib-genmarshal in your PATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user