Commit ec2a2522 authored by Max Kellermann's avatar Max Kellermann

win32/build.py: restore option "out_of_tree"

Got lost in the previous commit.
parent 556f9ee3
......@@ -92,9 +92,13 @@ class Project:
except FileNotFoundError:
return False
def unpack(self):
global src_path
return untar(self.download(), src_path, self.base)
def unpack(self, out_of_tree=True):
global src_path, build_path
if out_of_tree:
parent_path = src_path
else:
parent_path = build_path
return untar(self.download(), parent_path, self.base)
def make_build_path(self):
path = os.path.join(build_path, self.base)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment