diff options
author | Eric Engestrom | 2018-03-20 09:54:45 -0500 |
---|---|---|
committer | Eric Engestrom | 2018-03-20 13:19:50 -0500 |
commit | edaca475e8b21da95ffee11b7287bc976ad31d49 (patch) | |
tree | 0051fe72645196ca33cd245b5ad0a4bb3b07806a | |
parent | 56f6d3d48d405024802fa1e52a80f8918fba7fc5 (diff) | |
download | external-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.build | 4 |
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 | ||
30 | pkg = import('pkgconfig') | 30 | pkg = import('pkgconfig') |
31 | 31 | ||
32 | config = configuration_data() | ||
33 | |||
32 | with_udev = get_option('udev') | 34 | with_udev = get_option('udev') |
33 | with_freedreno_kgsl = get_option('freedreno-kgsl') | 35 | with_freedreno_kgsl = get_option('freedreno-kgsl') |
34 | with_install_tests = get_option('install-test-programs') | 36 | with_install_tests = get_option('install-test-programs') |
35 | 37 | ||
36 | config = configuration_data() | ||
37 | |||
38 | if ['freebsd', 'dragonfly', 'netbsd'].contains(host_machine.system()) | 38 | if ['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') |
40 | else | 40 | else |