diff options
author | Eric Engestrom | 2018-03-20 09:59:40 -0500 |
---|---|---|
committer | Eric Engestrom | 2018-03-20 13:19:54 -0500 |
commit | 361d4bffd322f2743f8b5ce4a81ed0482105afac (patch) | |
tree | 39decc174e3408bb1a28962aecaf9fb22e6badf8 | |
parent | edaca475e8b21da95ffee11b7287bc976ad31d49 (diff) | |
download | external-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.build | 3 |
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 | ||
32 | config = configuration_data() | 32 | config = configuration_data() |
33 | 33 | ||
34 | with_udev = get_option('udev') | 34 | config.set10('UDEV', get_option('udev')) |
35 | with_freedreno_kgsl = get_option('freedreno-kgsl') | 35 | with_freedreno_kgsl = get_option('freedreno-kgsl') |
36 | with_install_tests = get_option('install-test-programs') | 36 | with_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()) |
166 | endif | 166 | endif |
167 | 167 | ||
168 | config.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. |
170 | if not cc.has_function('dlsym') | 169 | if 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) |