summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-03-20 09:59:40 -0500
committerEric Engestrom2018-03-20 13:19:54 -0500
commit361d4bffd322f2743f8b5ce4a81ed0482105afac (patch)
tree39decc174e3408bb1a28962aecaf9fb22e6badf8
parentedaca475e8b21da95ffee11b7287bc976ad31d49 (diff)
downloadexternal-libdrm-361d4bffd322f2743f8b5ce4a81ed0482105afac.tar.gz
external-libdrm-361d4bffd322f2743f8b5ce4a81ed0482105afac.tar.xz
external-libdrm-361d4bffd322f2743f8b5ce4a81ed0482105afac.zip
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')
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)