[PATCH libdrm 1/3] meson: drop unneeded dependency to libudev

Eric Engestrom eric.engestrom at imgtec.com
Tue Mar 20 15:39:33 UTC 2018


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

Cc: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 meson.build | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meson.build b/meson.build
index 74a541e8d835ae27c7f4..ade90be1da9458b5d473 100644
--- a/meson.build
+++ b/meson.build
@@ -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,
-- 
Cheers,
  Eric



More information about the dri-devel mailing list