diff --git a/kiwixbuild/buildenv.py b/kiwixbuild/buildenv.py index cdd65b98..2ae6ac2e 100644 --- a/kiwixbuild/buildenv.py +++ b/kiwixbuild/buildenv.py @@ -30,7 +30,10 @@ def __init__(self, dummy_run): self.mesontest_command = [*self.meson_command, "test"] self.patch_command = self._detect_command("patch") self.git_command = self._detect_command("git") - self.make_command = self._detect_command("make") + if platform.system() == "Windows": + self.make_command = self._detect_command("nmake", options=["/?", "/NOLOGO"]) + else: + self.make_command = self._detect_command("make") self.cmake_command = self._detect_command("cmake") self.qmake_command = self._detect_command( "qmake", required=False, default=[["qmake"], ["qmake-qt5"]]