[OE-core] [PATCH 15/27] libinput: fix udev path for pkgconf
Maxin B. John
maxin.john at intel.com
Mon Feb 19 08:37:06 UTC 2018
Here we need udev path to be relative, inside the sysroot.
Unset PKG_CONFIG_SYSROOT_DIR to fix it.
Signed-off-by: Maxin B. John <maxin.john at intel.com>
---
meta/recipes-graphics/wayland/libinput_1.9.4.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/wayland/libinput_1.9.4.bb b/meta/recipes-graphics/wayland/libinput_1.9.4.bb
index 67a49df..32b98ab 100644
--- a/meta/recipes-graphics/wayland/libinput_1.9.4.bb
+++ b/meta/recipes-graphics/wayland/libinput_1.9.4.bb
@@ -19,7 +19,7 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG[libwacom] = "-Dlibwacom=true,-Dlibwacom=false,libwacom"
PACKAGECONFIG[gui] = "-Ddebug-gui=true,-Ddebug-gui=false,cairo gtk+3"
-UDEVDIR = "`pkg-config --variable=udevdir udev`"
+UDEVDIR = "`unset PKG_CONFIG_SYSROOT_DIR; pkg-config --variable=udevdir udev`"
EXTRA_OEMESON += "-Dudev-dir=${UDEVDIR} -Ddocumentation=false -Dtests=false"
--
2.4.0
More information about the Openembedded-core
mailing list