From: Magnus Jacobsson Date: Tue, 14 Sep 2021 10:31:44 +0000 (+0200) Subject: cluster: autotools: link to the gvc lib instead of the static common lib X-Git-Tag: 2.49.1~5^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8775ce6a6a5ee28cb090585ae9278d195d4f0d63;p=graphviz 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. --- 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 :