[Mesa-dev] [PATCH v2] configure/vulkan: linking issue of Vulkan
Sergii Romantsov
sergii.romantsov at gmail.com
Mon Nov 19 14:09:55 UTC 2018
From: Sergii Romantsov <sergii.romantsov at 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 at GL_LIB@_la_LIBADD stage.
Seems caught libtool-issue.
Solution: library-dependicies GL_LIB_DEPS moved upper.
CC: Dylan Baker <dylan at pnwbakers.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107624
Signed-off-by: Sergii Romantsov <sergii.romantsov at 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
More information about the mesa-dev
mailing list