[oe-commits] [meta-openembedded] 01/01: mozjs: Avoid use of X11 from host when X11 is disabled

git at git.openembedded.org git at git.openembedded.org
Sun Feb 3 16:34:26 UTC 2019

This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch stable/thud-nmut
in repository meta-openembedded.

commit 2154631d355c425a8e98b4a9d336bf2558ecfd1b
Author: Otavio Salvador <otavio at ossystems.com.br>
AuthorDate: Tue Jan 15 01:40:16 2019 -0800

    mozjs: Avoid use of X11 from host when X11 is disabled
    The mozjs build system makes use of host headers and libraries if not
    passed an invalid path for `--x-includes` and `--x-libraries`. This
    fixes host contamination while building in a development host.
    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
 meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb b/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb
index 0dfe2f8..440a25b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb
@@ -49,7 +49,7 @@ EXTRA_OECONF = " \
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
-PACKAGECONFIG[x11] = "--x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},,virtual/libx11"
+PACKAGECONFIG[x11] = "--x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--x-includes=no --x-libraries=no,virtual/libx11"
 EXTRA_OEMAKE_task-compile += "OS_LDFLAGS='-Wl,-latomic ${LDFLAGS}'"
 EXTRA_OEMAKE_task-install += "STATIC_LIBRARY_NAME=js_static"

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

More information about the Openembedded-commits mailing list