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 <imirkin@alum.mit.edu>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
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)