[oe-commits] [openembedded-core] 03/26: libinput: fix udevdir

git at git.openembedded.org git at git.openembedded.org
Fri Sep 23 17:06:45 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit bcd93a4ad1188bb15db00727d5d03548d687a7a3
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Wed Jul 20 23:36:47 2016 -0700

    libinput: fix udevdir
    
    * 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.yang at windriver.com>
---
 meta/recipes-graphics/wayland/libinput_1.4.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/libinput_1.4.1.bb b/meta/recipes-graphics/wayland/libinput_1.4.1.bb
index c3905f3..3580392 100644
--- a/meta/recipes-graphics/wayland/libinput_1.4.1.bb
+++ b/meta/recipes-graphics/wayland/libinput_1.4.1.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}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list