python/build/meson.py: create build_path if it does not exist

This commit is contained in:
Max Kellermann 2018-05-22 12:31:37 +02:00
parent 8bf250c228
commit 626329a1cc

View File

@ -33,6 +33,7 @@ class MesonProject(Project):
# TODO: write pkg-config wrapper
path = os.path.join(toolchain.build_path, 'meson.cross')
os.makedirs(toolchain.build_path, exist_ok=True)
with open(path, 'w') as f:
f.write("""
[binaries]