* Use "pkg-config --variable=udevdir udev" to fix udevdir, otherwise it
  would use ${libdir}/udev which is incorrect for systemd's udev.

Signed-off-by: Robert Yang <liezhi.y...@windriver.com>
---
 meta/recipes-graphics/wayland/libinput_1.3.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/libinput_1.3.0.bb 
b/meta/recipes-graphics/wayland/libinput_1.3.0.bb
index 13724d5..c564720 100644
--- a/meta/recipes-graphics/wayland/libinput_1.3.0.bb
+++ b/meta/recipes-graphics/wayland/libinput_1.3.0.bb
@@ -20,4 +20,6 @@ PACKAGECONFIG[libunwind] = 
"--with-libunwind,--without-libunwind,libunwind"
 PACKAGECONFIG[libwacom] = "--enable-libwacom,--disable-libwacom,libwacom"
 PACKAGECONFIG[gui] = "--enable-event-gui,--disable-event-gui,cairo gtk+3"
 
-FILES_${PN} += "${libdir}/udev/"
+UDEVDIR = "`pkg-config --variable=udevdir udev`"
+
+EXTRA_OECONF += "--with-udev-dir=${UDEVDIR}"
-- 
2.9.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to