summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2018-03-20 14:59:40 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2018-03-20 18:19:54 +0000
commit361d4bffd322f2743f8b5ce4a81ed0482105afac (patch)
tree39decc174e3408bb1a28962aecaf9fb22e6badf8
parentedaca475e8b21da95ffee11b7287bc976ad31d49 (diff)
meson: drop unnecessary variable
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-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')
config = configuration_data()
-with_udev = get_option('udev')
+config.set10('UDEV', get_option('udev'))
with_freedreno_kgsl = get_option('freedreno-kgsl')
with_install_tests = get_option('install-test-programs')
@@ -165,7 +165,6 @@ if _libkms != 'false'
with_libkms = _libkms == 'true' or ['linux', 'freebsd', 'dragonfly'].contains(host_machine.system())
endif
-config.set10('UDEV', with_udev)
# Among others FreeBSD does not have a separate dl library.
if not cc.has_function('dlsym')
dep_dl = cc.find_library('dl', required : with_nouveau)