Patchwork mesa: Avoid picking up the "local" wayland-scanner.

login
register
mail settings
Submitter Søren Holm
Date April 7, 2014, 9:20 p.m.
Message ID <1396905655-4084-1-git-send-email-sgh@sgh.dk>
Download mbox | patch
Permalink /patch/70219/
State New
Headers show

Comments

Søren Holm - April 7, 2014, 9:20 p.m.
The generated headers turn out wrong and breaks compilation if
the local version is different from the target version.

Signed-off-by: Søren Holm <sgh@sgh.dk>
---
 meta/recipes-graphics/mesa/mesa.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index afc795c..822b236 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -65,6 +65,7 @@  MESA_LLVM_RELEASE ?= "3.3"
 PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm --with-llvm-shared-libs, --disable-gallium-llvm, llvm${MESA_LLVM_RELEASE} \
                                ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}"
 export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
+export WAYLAND_SCANNER = "${STAGING_DIR_NATIVE}/usr/bin/wayland-scanner"
 
 # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
 FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"