meson: drop unneeded dependency to libudev
libdrm only needed libudev for a few days 3 years ago, betweenmainfde4969176
and its revert5b0e76f143
. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
parent
0926f0af54
commit
56f6d3d48d
|
@ -166,12 +166,6 @@ if _libkms != 'false'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config.set10('UDEV', with_udev)
|
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.
|
# Among others FreeBSD does not have a separate dl library.
|
||||||
if not cc.has_function('dlsym')
|
if not cc.has_function('dlsym')
|
||||||
dep_dl = cc.find_library('dl', required : with_nouveau)
|
dep_dl = cc.find_library('dl', required : with_nouveau)
|
||||||
|
@ -294,7 +288,7 @@ libdrm = shared_library(
|
||||||
config_file,
|
config_file,
|
||||||
],
|
],
|
||||||
c_args : warn_c_args,
|
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,
|
include_directories : inc_drm,
|
||||||
version : '2.4.0',
|
version : '2.4.0',
|
||||||
install : true,
|
install : true,
|
||||||
|
|
Loading…
Reference in New Issue