From: Sergii Romantsov <sergii.romant...@gmail.com>

Xcb-dri3 is installed into custom directory.
Installing of Vulkan on Ubuntu 16.04 fails during relinking.
Potential reason: seems during relinking a path to the custom
dri3-path is missed: glx.la depends on libloader_dri3_helper.la
which depends on XCB_DRI3_LIBS.
XCB_DRI3_LIBS contains a correct custom path, but its invisible
on lib@GL_LIB@_la_LIBADD stage.
Seems caught libtool-issue.
Solution: library-dependicies GL_LIB_DEPS moved upper.

CC: Dylan Baker <dy...@pnwbakers.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107624
Signed-off-by: Sergii Romantsov <sergii.romant...@globallogic.com>
---
 src/glx/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
index d208ce1..2a1fce3 100644
--- a/src/glx/Makefile.am
+++ b/src/glx/Makefile.am
@@ -175,10 +175,10 @@ endif
 # against the system one.
 GL_LIBS = \
        $(LIBDRM_LIBS) \
+       $(GL_LIB_DEPS) \
        libglx.la \
        $(top_builddir)/src/mapi/glapi/libglapi.la \
-       $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
-       $(GL_LIB_DEPS)
+       $(top_builddir)/src/mapi/shared-glapi/libglapi.la
 
 GL_LDFLAGS = \
        -no-undefined \
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to