build/x11: Force usage of C++ linker
authorMatt Turner <mattst88@gmail.com>
Fri, 17 Aug 2012 18:16:45 +0000 (11:16 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 22 Aug 2012 18:08:06 +0000 (11:08 -0700)
Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/x11/Makefile.am

index d9f342308bdaaf29ce715ea2b55ee3868730bc8e..dab4d6bec8f5328edaf7e46595dd96120f15a0cb 100644 (file)
@@ -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