summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-03-20 09:54:45 -0500
committerEric Engestrom2018-03-20 13:19:50 -0500
commitedaca475e8b21da95ffee11b7287bc976ad31d49 (patch)
tree0051fe72645196ca33cd245b5ad0a4bb3b07806a
parent56f6d3d48d405024802fa1e52a80f8918fba7fc5 (diff)
downloadexternal-libdrm-edaca475e8b21da95ffee11b7287bc976ad31d49.tar.gz
external-libdrm-edaca475e8b21da95ffee11b7287bc976ad31d49.tar.xz
external-libdrm-edaca475e8b21da95ffee11b7287bc976ad31d49.zip
meson: move line to allow using `config` earlier
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index ade90be1..ddcd25ff 100644
--- a/meson.build
+++ b/meson.build
@@ -29,12 +29,12 @@ project(
29 29
30pkg = import('pkgconfig') 30pkg = import('pkgconfig')
31 31
32config = configuration_data()
33
32with_udev = get_option('udev') 34with_udev = get_option('udev')
33with_freedreno_kgsl = get_option('freedreno-kgsl') 35with_freedreno_kgsl = get_option('freedreno-kgsl')
34with_install_tests = get_option('install-test-programs') 36with_install_tests = get_option('install-test-programs')
35 37
36config = configuration_data()
37
38if ['freebsd', 'dragonfly', 'netbsd'].contains(host_machine.system()) 38if ['freebsd', 'dragonfly', 'netbsd'].contains(host_machine.system())
39 dep_pthread_stubs = dependency('pthread-stubs', version : '>= 0.4') 39 dep_pthread_stubs = dependency('pthread-stubs', version : '>= 0.4')
40else 40else