I based the check on the gmake check, but that one doesn't need the export, as gmake is what needs to be called for the build to start. But ninja is currently only used during building NSS. Also do not use Windows path for ninja on Windows, as NSS actually invokes it from a shell script.
Change-Id: I0d8a86ee3688f27a376d547cd946bb4c59a547a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90922
5feadfad0cc3 actually export $NINJA from configure
config_host.mk.in | 1 +
configure.ac | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)