mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-16 16:41:42 +00:00
build script: call configure script in configure() method instead of build()
This commit is contained in:
parent
9774e56044
commit
a1b5db3172
1 changed files with 2 additions and 3 deletions
5
build.py
5
build.py
|
@ -166,14 +166,13 @@ class ConfigureMakeTarget(Target):
|
|||
super().configure(builder)
|
||||
self.make.configure(builder)
|
||||
|
||||
def build(self, builder: 'Builder'):
|
||||
assert not builder.xcode
|
||||
|
||||
work_path = builder.build_path + self.src_root
|
||||
args = [work_path + os.sep + 'configure']
|
||||
args += self.options.to_list()
|
||||
subprocess.check_call(args, cwd=work_path, env=self.environment)
|
||||
|
||||
def build(self, builder: 'Builder'):
|
||||
assert not builder.xcode
|
||||
self.make.build(builder)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue