mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 20:11:51 +00:00
build script: fix combining make arguments
This commit is contained in:
parent
f2f0711295
commit
32747133a3
1 changed files with 1 additions and 1 deletions
2
build.py
2
build.py
|
@ -46,7 +46,7 @@ class CommandLineOptions(dict):
|
||||||
|
|
||||||
for arg_name, arg_value in self.items():
|
for arg_name, arg_value in self.items():
|
||||||
if rules == CommandLineOptions.MAKE_RULES:
|
if rules == CommandLineOptions.MAKE_RULES:
|
||||||
option = arg_name + ('=' + arg_value) if arg_value else ''
|
option = arg_name + ('=' + arg_value if arg_value else '')
|
||||||
elif rules == CommandLineOptions.CMAKE_RULES:
|
elif rules == CommandLineOptions.CMAKE_RULES:
|
||||||
arg_value = arg_value if arg_value else ''
|
arg_value = arg_value if arg_value else ''
|
||||||
option = f'-D{arg_name}={arg_value}'
|
option = f'-D{arg_name}={arg_value}'
|
||||||
|
|
Loading…
Reference in a new issue