aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index ddcd25ff..961ee59c 100644
--- a/meson.build
+++ b/meson.build
@@ -31,7 +31,7 @@ pkg = import('pkgconfig')
31 31
32config = configuration_data() 32config = configuration_data()
33 33
34with_udev = get_option('udev') 34config.set10('UDEV', get_option('udev'))
35with_freedreno_kgsl = get_option('freedreno-kgsl') 35with_freedreno_kgsl = get_option('freedreno-kgsl')
36with_install_tests = get_option('install-test-programs') 36with_install_tests = get_option('install-test-programs')
37 37
@@ -165,7 +165,6 @@ if _libkms != 'false'
165 with_libkms = _libkms == 'true' or ['linux', 'freebsd', 'dragonfly'].contains(host_machine.system()) 165 with_libkms = _libkms == 'true' or ['linux', 'freebsd', 'dragonfly'].contains(host_machine.system())
166endif 166endif
167 167
168config.set10('UDEV', with_udev)
169# Among others FreeBSD does not have a separate dl library. 168# Among others FreeBSD does not have a separate dl library.
170if not cc.has_function('dlsym') 169if not cc.has_function('dlsym')
171 dep_dl = cc.find_library('dl', required : with_nouveau) 170 dep_dl = cc.find_library('dl', required : with_nouveau)