meson: move line to allow using `config` earlier
authorEric Engestrom <eric.engestrom@imgtec.com>
Tue, 20 Mar 2018 14:54:45 +0000 (14:54 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 20 Mar 2018 18:19:50 +0000 (18:19 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
meson.build

index ade90be..ddcd25f 100644 (file)
@@ -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