From 89559c50e7ea9f6571eb02477d7b466f3354ae2f Mon Sep 17 00:00:00 2001 From: Frank Henigman Date: Thu, 28 Feb 2013 21:21:51 -0500 Subject: [PATCH] i965: Link i965_dri.so with C++ linker. Force C++ linking of i965_dri.so by adding a dummy C++ source file. Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index dc140df3542..77670efdee8 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -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 -- 2.30.2