Mesa (master): build/x11: Force usage of C++ linker

Matt Turner mattst88 at kemper.freedesktop.org
Wed Aug 22 18:07:31 UTC 2012


Module: Mesa
Branch: master
Commit: 625651cf813f2b18626f0d26e68e3a2935325b8d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=625651cf813f2b18626f0d26e68e3a2935325b8d

Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Aug 17 11:16:45 2012 -0700

build/x11: Force usage of C++ linker

Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/x11/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am
index d9f3423..dab4d6b 100644
--- a/src/mesa/drivers/x11/Makefile.am
+++ b/src/mesa/drivers/x11/Makefile.am
@@ -50,6 +50,9 @@ lib at GL_LIB@_la_SOURCES = \
 	xm_line.c \
 	xm_tri.c
 
+# Force usage of a C++ linker
+nodist_EXTRA_lib at GL_LIB@_la_SOURCES = dummy.cpp
+
 GL_MAJOR = 1
 GL_MINOR = 6
 GL_PATCH = 0




More information about the mesa-commit mailing list