From edaca475e8b21da95ffee11b7287bc976ad31d49 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 20 Mar 2018 14:54:45 +0000 Subject: [PATCH] meson: move line to allow using `config` earlier Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- meson.build | 4 ++-- 1 file 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( pkg = import('pkgconfig') +config = configuration_data() + with_udev = get_option('udev') with_freedreno_kgsl = get_option('freedreno-kgsl') with_install_tests = get_option('install-test-programs') -config = configuration_data() - if ['freebsd', 'dragonfly', 'netbsd'].contains(host_machine.system()) dep_pthread_stubs = dependency('pthread-stubs', version : '>= 0.4') else