summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2020-01-08 15:41:01 +0100
committerWim Taymans <wtaymans@redhat.com>2020-01-08 15:41:01 +0100
commite29969f93733a97fbb20cacf94421bfa9ba1a682 (patch)
tree49706487e8e06342911c025d554c4718f67390eb /meson.build
parentdfdd664160b122799316f53bddf803e1f0d4c5dd (diff)
Use build_root to generate Makefile
Don't hardcode the buildroot but use the value from meson. Based on patch by Jan Koester <jan.koester@gmx.net> Fixes #202
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 2734b0d2..946b6d30 100644
--- a/meson.build
+++ b/meson.build
@@ -173,6 +173,7 @@ configinc = include_directories('.')
pipewire_inc = include_directories('src')
makedata = configuration_data()
+ makedata.set('BUILD_ROOT', meson.build_root())
makedata.set('VERSION', pipewire_version)
if version_arr.length() == 4
makedata.set('TAG', 'HEAD')