From: Magnus Jacobsson Date: Wed, 4 Aug 2021 09:04:58 +0000 (+0200) Subject: tred: autotools: link to the shared gvc lib instead of the static common lib X-Git-Tag: 3.0.0~107^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=330734a978398e01845fd4ff5e33581cd4dc9634;p=graphviz tred: autotools: link to the shared gvc lib instead of the static common lib The common lib is built into the gvc lib. An upcoming commit that changes tred.c to include utils.h instead of timing.h would otherwise cause these errors: /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: tred.o: in function `process': /cygdrive/c/GitLab-Runner/builds/magjac/graphviz/cmd/tools/tred.c:296: undefined reference to `__imp_start_timer' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /cygdrive/c/GitLab-Runner/builds/magjac/graphviz/cmd/tools/tred.c:299: undefined reference to `__imp_elapsed_sec' --- diff --git a/cmd/tools/Makefile.am b/cmd/tools/Makefile.am index 5b78a1523..0bce64ba6 100644 --- a/cmd/tools/Makefile.am +++ b/cmd/tools/Makefile.am @@ -124,7 +124,7 @@ endif tred_SOURCES = tred.c tred_LDADD = \ - $(top_builddir)/lib/common/libcommon_C.la \ + $(top_builddir)/lib/gvc/libgvc.la \ $(top_builddir)/lib/ingraphs/libingraphs_C.la \ $(top_builddir)/lib/cgraph/libcgraph.la