From 28a42764423c86656a6fe77917c7044d29adf600 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 1 Apr 2014 02:49:58 +0100 Subject: [PATCH] drivers/nouveau: mention dummy.cpp to use g++ linker The build system does not know that the static library is C++. Mention the cpp file to trigger generation of the proper variable and drop the hacky stdc++ linking. Cc: Ilia Mirkin Signed-off-by: Emil Velikov Reviewed-by: Ilia Mirkin --- src/gallium/drivers/nouveau/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am index 27f829f2da3..ef48380ac6a 100644 --- a/src/gallium/drivers/nouveau/Makefile.am +++ b/src/gallium/drivers/nouveau/Makefile.am @@ -42,11 +42,11 @@ libnouveau_la_SOURCES = \ noinst_PROGRAMS = nouveau_compiler +nodist_EXTRA_nouveau_compiler_SOURCES = dummy.cpp nouveau_compiler_SOURCES = \ nouveau_compiler.c nouveau_compiler_LDADD = \ libnouveau.la \ ../../auxiliary/libgallium.la \ - -lstdc++ \ $(GALLIUM_COMMON_LIB_DEPS) -- 2.30.2