aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-24 12:21:48 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-11 23:11:17 +0000
commit1928d1ce9f31b2792e2e7cf7253e21f3c0102589 (patch)
tree2c113652303fc7ffdb8c77e775381a102fdde1b2
parentf3ba14e491333d6bbba8c60328c4dbfd20571182 (diff)
build: move udev dep to backend/
The DRM, libinput and session use udev. They are all hosted under backend/.
-rw-r--r--backend/meson.build3
-rw-r--r--meson.build2
2 files changed, 3 insertions, 2 deletions
diff --git a/backend/meson.build b/backend/meson.build
index 71a00dc9..b5b6f7a6 100644
--- a/backend/meson.build
+++ b/backend/meson.build
@@ -1,3 +1,6 @@
+udev = dependency('libudev')
+wlr_deps += udev
+
wlr_files += files('backend.c')
all_backends = ['drm', 'libinput', 'x11']
diff --git a/meson.build b/meson.build
index 529d5b87..3b8adaeb 100644
--- a/meson.build
+++ b/meson.build
@@ -128,7 +128,6 @@ drm = dependency('libdrm',
],
)
xkbcommon = dependency('xkbcommon')
-udev = dependency('libudev')
pixman = dependency('pixman-1')
math = cc.find_library('m')
rt = cc.find_library('rt')
@@ -138,7 +137,6 @@ wlr_deps = [
wayland_server,
drm,
xkbcommon,
- udev,
pixman,
math,
rt,