python/build/meson.py: create build_path if it does not exist
This commit is contained in:
parent
8bf250c228
commit
626329a1cc
@ -33,6 +33,7 @@ class MesonProject(Project):
|
|||||||
# TODO: write pkg-config wrapper
|
# TODO: write pkg-config wrapper
|
||||||
|
|
||||||
path = os.path.join(toolchain.build_path, 'meson.cross')
|
path = os.path.join(toolchain.build_path, 'meson.cross')
|
||||||
|
os.makedirs(toolchain.build_path, exist_ok=True)
|
||||||
with open(path, 'w') as f:
|
with open(path, 'w') as f:
|
||||||
f.write("""
|
f.write("""
|
||||||
[binaries]
|
[binaries]
|
||||||
|
Loading…
Reference in New Issue
Block a user