meson: move line to allow using `config` earlier
[platform/upstream/libdrm.git] / 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