meson: drop unneeded dependency to libudev

libdrm only needed libudev for a few days 3 years ago,
between fde4969176 and its revert 5b0e76f143.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
main
Eric Engestrom 2018-03-20 14:55:50 +00:00
parent 0926f0af54
commit 56f6d3d48d
1 changed files with 1 additions and 7 deletions

View File

@ -166,12 +166,6 @@ if _libkms != 'false'
endif
config.set10('UDEV', with_udev)
if with_udev
dep_udev = dependency('udev')
else
dep_udev = []
endif
# 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)
@ -294,7 +288,7 @@ libdrm = shared_library(
config_file,
],
c_args : warn_c_args,
dependencies : [dep_udev, dep_valgrind, dep_rt, dep_m],
dependencies : [dep_valgrind, dep_rt, dep_m],
include_directories : inc_drm,
version : '2.4.0',
install : true,