Commit 56f6d3d4 authored by Eric Engestrom's avatar Eric Engestrom 💤
Browse files

meson: drop unneeded dependency to libudev

libdrm only needed libudev for a few days 3 years ago,
between fde49691 and its revert 5b0e76f1

.
Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>
parent 0926f0af
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment