summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-05-22 12:31:37 +0200
committerMax Kellermann <max@musicpd.org>2018-05-22 12:31:37 +0200
commit626329a1cce84e7668b9e3cdb34186e702e4a0c5 (patch)
tree492df95353a8e994579c3fd756b43fbe3f4e73c8 /python
parent8bf250c2282cccc158bd0c26e8a972c48321a2d5 (diff)
python/build/meson.py: create build_path if it does not exist
Diffstat (limited to 'python')
-rw-r--r--python/build/meson.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/build/meson.py b/python/build/meson.py
index 05abb694c..4cda8ec2a 100644
--- a/python/build/meson.py
+++ b/python/build/meson.py
@@ -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]