mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 16:08:43 +02:00
Fix glib-compile-resources usage when cross-compiling
Copy the behavior of glib-genmarshal: require an installed copy of it, and use that rather than the built copy.
This commit is contained in:
@@ -2577,6 +2577,11 @@ if test $cross_compiling = yes; then
|
||||
if test x$GLIB_COMPILE_SCHEMAS = xno; then
|
||||
AC_MSG_ERROR(Could not find a glib-compile-schemas in your PATH)
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources, no)
|
||||
if test x$GLIB_COMPILE_RESOURCES = xno; then
|
||||
AC_MSG_ERROR(Could not find a glib-compile-resources in your PATH)
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl **************************
|
||||
|
Reference in New Issue
Block a user