summaryrefslogtreecommitdiffstats
path: root/src/glx/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/Makefile.am')
-rw-r--r--src/glx/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
index 79d416abcad..5c0376408cc 100644
--- a/src/glx/Makefile.am
+++ b/src/glx/Makefile.am
@@ -174,7 +174,10 @@ AM_CFLAGS += \
GL_LIB_VERSION=1:2
endif
+# Push the libdrm furhter up, as due to libtool bug we might end up relinking
+# against the system one.
GL_LIBS = \
+ $(LIBDRM_LIBS) \
libglx.la \
$(top_builddir)/src/mapi/glapi/libglapi.la \
$(SHARED_GLAPI_LIB) \