From db6cae6f48e822c15ff2c21fe49ff8b280c18311 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 20 Feb 2009 17:04:20 +0000 Subject: [PATCH] Trick libtool into using g++ for linking dot_static to avoid /usr/bin/ld: Undefined symbols: __Unwind_Resume --- cmd/dot/Makefile.am | 2 +- cmd/dot/stub.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 cmd/dot/stub.cpp diff --git a/cmd/dot/Makefile.am b/cmd/dot/Makefile.am index f52465f2b..004fb7671 100644 --- a/cmd/dot/Makefile.am +++ b/cmd/dot/Makefile.am @@ -73,7 +73,7 @@ uninstall-hook: dot.1.pdf: $(srcdir)/dot.1 - $(GROFF) -Tps -man $(srcdir)/dot.1 | $(PS2PDF) - - >dot.1.pdf -dot_static_SOURCES = dot.c dot_builtins.c no_demand_loading.c +dot_static_SOURCES = dot.c dot_builtins.c no_demand_loading.c stub.cpp dot_static_LDADD = \ $(top_builddir)/plugin/dot_layout/libgvplugin_dot_layout_C.la \ $(top_builddir)/plugin/neato_layout/libgvplugin_neato_layout_C.la \ diff --git a/cmd/dot/stub.cpp b/cmd/dot/stub.cpp new file mode 100644 index 000000000..aa4ed3c75 --- /dev/null +++ b/cmd/dot/stub.cpp @@ -0,0 +1 @@ +// trick libtool into using g++ for linking -- 2.40.0