diff mbox

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

Message ID 20180320153935.10079-1-eric.engestrom@imgtec.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Engestrom March 20, 2018, 3:39 p.m. UTC
libdrm only needed libudev for a few days 3 years ago,
between fde4969176822fe54197 and its revert 5b0e76f143887c4ec7db.

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

Comments

Emil Velikov March 20, 2018, 5:24 p.m. UTC | #1
On 20 March 2018 at 15:39, Eric Engestrom <eric.engestrom@imgtec.com> wrote:
> libdrm only needed libudev for a few days 3 years ago,
> between fde4969176822fe54197 and its revert 5b0e76f143887c4ec7db.
>
> Cc: Emil Velikov <emil.l.velikov@gmail.com>
> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
The series is
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

-Emil
diff mbox

Patch

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,