]> granicus.if.org Git - graphviz/commit
plugin/core: autotools: add linking to xdot
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Thu, 9 Sep 2021 20:56:42 +0000 (22:56 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 19 Sep 2021 20:57:33 +0000 (22:57 +0200)
commit6d646c82d94efdfb9933328f08301f6e1600943e
tree217b5132640662ed420de5e8df03cc5e25be4feb
parent5fe6b5836b417b376ffa19a550f90d50d5ccf189
plugin/core: autotools: add linking to xdot

E.g. plugin/core/gvrender_core_dot.c uses parseXDot from
lib/xdot/xdot.c.

Fixes these errors when building with Cygwin from the portable source
produced by the Ubuntu 18.03 runner in CI:

/cygdrive/c/GitLab-Runner/builds/magjac/graphviz/graphviz-2.49.1~dev.20210915.2014/plugin/core/gvrender_core_json.c:313: undefined reference to `parseXDot'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /cygdrive/c/GitLab-Runner/builds/magjac/graphviz/graphviz-2.49.1~dev.20210915.2014/plugin/core/gvrender_core_json.c:331: undefined reference to `freeXDot'

For some reason, this error did not show up when building using a
build system generated on Cygwin with autogen.sh.
plugin/core/Makefile.am