From 43a51725e2aef088f3f008a1cb9bd25721e6e572 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 1 Dec 2017 13:08:08 +0000 Subject: [PATCH] mesa: document the workaround in pre_configure_target Add some information why we need the extra linking, and reference to a thread with possible solutions. Signed-off-by: Emil Velikov --- packages/graphics/mesa/package.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/graphics/mesa/package.mk b/packages/graphics/mesa/package.mk index 34dfa7c34c..7acbc1a684 100644 --- a/packages/graphics/mesa/package.mk +++ b/packages/graphics/mesa/package.mk @@ -111,6 +111,10 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \ --with-vulkan-drivers=no \ --with-sysroot=$SYSROOT_PREFIX" +# Temporary workaround: +# Listed libraries are static, while mesa expects shared ones. This breaks the +# dependency tracking. The following has some ideas on how to address that. +# https://github.com/LibreELEC/LibreELEC.tv/pull/2163 pre_configure_target() { if [ "$DISPLAYSERVER" = "x11" ]; then export LIBS="-lxcb-dri3 -lxcb-dri2 -lxcb-xfixes -lxcb-present -lxcb-sync -lxshmfence -lz"