summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri
diff options
context:
space:
mode:
authorRoman Gilg <[email protected]>2018-03-05 17:41:44 +0100
committerEmil Velikov <[email protected]>2018-03-12 14:49:07 +0000
commitf94597f554d284e8bedf0d00e3ad9e805306548f (patch)
treeb53206dd4f4b336558bd96458e01fd1f472e0086 /src/gallium/targets/dri
parent678ba53240e97942e282b6ef00d861c50321c9e9 (diff)
gallium: work around libtool relink issue for libdrm
This is similar to commit 90633079. libtool links first to system directories instead of custom locations of libdrm on relinking. Since a more recent libdrm version than the one provided by the system is often needed when compiling mesa, make sure this works by putting libdrm in front. See also: https://bugs.freedesktop.org/show_bug.cgi?id=100259 Signed-off-by: Roman Gilg <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r--src/gallium/targets/dri/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am
index 73bb71db0c4..c6a4c215905 100644
--- a/src/gallium/targets/dri/Makefile.am
+++ b/src/gallium/targets/dri/Makefile.am
@@ -52,9 +52,9 @@ gallium_dri_la_LIBADD = \
$(top_builddir)/src/gallium/drivers/rbug/librbug.la \
$(top_builddir)/src/gallium/drivers/trace/libtrace.la \
$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
+ $(LIBDRM_LIBS) \
$(SELINUX_LIBS) \
$(EXPAT_LIBS) \
- $(LIBDRM_LIBS) \
$(GALLIUM_COMMON_LIB_DEPS)
EXTRA_gallium_dri_la_DEPENDENCIES = \