From 8775ce6a6a5ee28cb090585ae9278d195d4f0d63 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Tue, 14 Sep 2021 12:31:44 +0200 Subject: [PATCH] cluster: autotools: link to the gvc lib instead of the static common lib The common lib is part of gvc and should not be linked to directly. This will allow an upcoming MR to correct the storage class attributes in lib/common/globals.h. Wihout this commit, many errors like this would appear when linking cluster: /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: ../../lib/edgepaint/.libs/libedgepaint_C.a(node_distinct_coloring.o): in function `node_distinct_coloring_internal2': /home/magja/graphviz/lib/edgepaint/node_distinct_coloring.c:137: undefined reference to `__imp_Verbose' Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- cmd/gvmap/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gvmap/Makefile.am b/cmd/gvmap/Makefile.am index 518c406a1..7a9b0f5f9 100644 --- a/cmd/gvmap/Makefile.am +++ b/cmd/gvmap/Makefile.am @@ -55,9 +55,9 @@ cluster_LDADD = \ $(top_builddir)/lib/sparse/libsparse_C.la \ $(top_builddir)/lib/rbtree/librbtree_C.la \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ - $(top_builddir)/lib/common/libcommon_C.la \ $(top_builddir)/lib/edgepaint/liblab_gamut.la \ $(top_builddir)/lib/cgraph/libcgraph.la \ + $(top_builddir)/lib/gvc/libgvc.la \ $(GTS_LIBS) -lm gvmap.sh : -- 2.40.0