Skip to contentSkip to conversation

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

PATCH New Søren Holm 1 participant 1 message Apr 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa: Avoid picking up the "local" wayland-scanner.

The generated headers turn out wrong and breaks compilation if the local version is different from the target version.

---
 meta/recipes-graphics/mesa/mesa.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/mesa/mesa.inc +1 -0
index afc795c..822b236 100644
@@ -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"
Signature · 1 line
1.9.1