Skip to content

Commit

Permalink
Use nmake instead of make on Windows
Browse files Browse the repository at this point in the history
Qmake in generating Makefile for nmake on Windows/msvc.
  • Loading branch information
mgautierfr committed Aug 26, 2024
1 parent 7fbeb2f commit 1e4b88d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kiwixbuild/buildenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]]
Expand Down

0 comments on commit 1e4b88d

Please sign in to comment.