]> granicus.if.org Git - graphviz/commit
circogen: autotools: define NEATOGEN_EXPORTS
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 25 Jul 2021 05:52:04 +0000 (07:52 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 7 Dec 2021 06:35:00 +0000 (07:35 +0100)
commita5de1fc81a0a7a1796b63a4d6df62ac0b555d90d
tree4d3c96989cdb1e2e0afc6d8b5a4fe4dac2e4c3e9
parentccaf412c94d093f1cfb5c7ef468a095f6e115cc1
circogen: autotools: define NEATOGEN_EXPORTS

circogen is part of the neato_layout plugin.

Fixes these errors using autotools with MinGW:

C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../lib/circogen/.libs/libcircogen_C.a(circularinit.o): in function `circular_init_node_edge':
C:\Users\magja\graphviz\lib\circogen/circularinit.c:49: undefined reference to `__imp_neato_init_node'
C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../lib/circogen/.libs/libcircogen_C.a(circularinit.o): in function `circo_layout':
C:\Users\magja\graphviz\lib\circogen/circularinit.c:249: undefined reference to `__imp_spline_edges'

Towards https://gitlab.com/graphviz/graphviz/-/issues/2058
lib/circogen/Makefile.am