summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/x11/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am
index d9f342308bd..dab4d6bec8f 100644
--- a/src/mesa/drivers/x11/Makefile.am
+++ b/src/mesa/drivers/x11/Makefile.am
@@ -50,6 +50,9 @@ lib@GL_LIB@_la_SOURCES = \
xm_line.c \
xm_tri.c
+# Force usage of a C++ linker
+nodist_EXTRA_lib@GL_LIB@_la_SOURCES = dummy.cpp
+
GL_MAJOR = 1
GL_MINOR = 6
GL_PATCH = 0