i965: Link i965_dri.so with C++ linker.
authorFrank Henigman <fjhenigman@google.com>
Fri, 1 Mar 2013 02:21:51 +0000 (21:21 -0500)
committerMatt Turner <mattst88@gmail.com>
Sat, 9 Mar 2013 05:21:53 +0000 (21:21 -0800)
Force C++ linking of i965_dri.so by adding a dummy C++ source file.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/Makefile.am

index dc140df3542c8877beb3c210e1f5070f2cb48a9b..77670efdee843090463e8aeca574548c27be8703 100644 (file)
@@ -62,6 +62,7 @@ TEST_LIBS = \
        ../common/libdri_test_stubs.la
 
 i965_dri_la_SOURCES =
+nodist_EXTRA_i965_dri_la_SOURCES = dummy2.cpp
 i965_dri_la_LIBADD = $(COMMON_LIBS)
 i965_dri_la_LDFLAGS = -module -avoid-version -shared