Files
fml13v01-buildroot/package/weston/0002-meson-fix-failure-to-find-libudev-when-linking-the-c.patch
Andy Hu e1839688b8 package/weston: bump to version 10.0.1
upgrade the weston to 10.0.1 for IMG DDK 1.19
and copy patches from IMG DDK 1.19

fix the patch and building issue

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-06-01 22:43:28 +08:00

34 lines
1016 B
Diff

From 2039ca706c9578e339dafa84b842559af86d7a11 Mon Sep 17 00:00:00 2001
From: Brendan King <Brendan.King@imgtec.com>
Date: Thu, 28 Mar 2019 12:58:10 +0000
Subject: [PATCH 2/5] meson: fix failure to find libudev when linking the
compositor
The compositor links against libinput, which in turn is linked against
libudev. When the compositor is linked, it has a dependency on libinput,
but not libudev. Whilst this is correct, it means the linker won't be
able to find libudev if the library is in a non-standard place (i.e.
a place where the linker wouldn't normally look).
Workaround the problem by adding libudev as a dependency for the
compositor.
---
compositor/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/compositor/meson.build b/compositor/meson.build
index 8a54ea99..11a6c59b 100644
--- a/compositor/meson.build
+++ b/compositor/meson.build
@@ -17,6 +17,7 @@ deps_weston = [
dep_libevdev,
dep_libdl,
dep_threads,
+ dependency('libudev'),
]
if get_option('xwayland')
--
2.25.1