diff --git a/kiwixbuild/configs/winbash.py b/kiwixbuild/configs/winbash.py index e195cdf..a435777 100644 --- a/kiwixbuild/configs/winbash.py +++ b/kiwixbuild/configs/winbash.py @@ -22,6 +22,10 @@ class WinBashConfigInfo(ConfigInfo): def configure_wrapper(self): yield "C:\\Program Files\\Git\\bin\\bash.exe" + @property + def make_wrapper(self): + yield "C:\\Program Files\\Git\\bin\\bash.exe" + @property def binaries(self): binaries = { @@ -31,7 +35,11 @@ class WinBashConfigInfo(ConfigInfo): } return binaries + def set_compiler(self, env): + for k, v in self.binaries.items(): + env[k] = v + def set_comp_flags(self, env): super().set_comp_flags(env) - env["PATH"] += "C:\\Program Files\\Git\\bin" + env["PATH"] += ["C:\\Program Files\\Git\\bin"] env["CXXFLAGS"] = "-EHsc -MD " + env["CXXFLAGS"]