Skip to content
  • Jehan's avatar
    meson: fix glib-networking check when cross-compiling. · b8c34c41
    Jehan authored
    3 cases are possible:
    - in native build, the test must succeed and is a fatale error.
    - in cross-compilation, if no `exe_wrapper` binaries were set in the
      toolchain file, we just bypass the check, yet still output a warning
      so that packagers won't forget to add the dependency.
    - in cross-compilation with an `exe_wrapper` (for instance `wine` for a
      win32 target), we run the check. Even if it fails, we don't make it a
      fatale error then simply output a warning as cross-platform execution
      are not always reliable anyway.
    b8c34c41