mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-16 08:31:30 +00:00
build script: add ability to specify install tool
This commit is contained in:
parent
c55e822930
commit
57444b20ee
1 changed files with 2 additions and 2 deletions
4
build.py
4
build.py
|
@ -115,14 +115,14 @@ class Target(BaseTarget):
|
|||
if builder.os_version:
|
||||
self._update_env(varname, f'-mmacosx-version-min={builder.os_version}')
|
||||
|
||||
def install(self, builder: 'Builder', options: 'CommandLineOptions' = None):
|
||||
def install(self, builder: 'Builder', options: 'CommandLineOptions' = None, tool: str = 'make'):
|
||||
if builder.xcode:
|
||||
return
|
||||
|
||||
if os.path.exists(self.prefix):
|
||||
shutil.rmtree(self.prefix)
|
||||
|
||||
args = ['make', 'install']
|
||||
args = [tool, 'install']
|
||||
args += options and options.to_list() or []
|
||||
|
||||
work_path = builder.build_path + self.src_root
|
||||
|
|
Loading…
Reference in a new issue