From 7cd1f721a4dea6a93ef4ce1ffda705a3948fba1d Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 28 Nov 2021 14:52:35 +0100 Subject: [PATCH] neatogen: autotools: define NEATOGEN_EXPORTS --- lib/neatogen/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/neatogen/Makefile.am b/lib/neatogen/Makefile.am index c67e72227..64140dc2d 100644 --- a/lib/neatogen/Makefile.am +++ b/lib/neatogen/Makefile.am @@ -9,6 +9,10 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/lib/cgraph \ -I$(top_srcdir)/lib/cdt $(IPSEPCOLA_INCLUDES) $(GTS_CFLAGS) +if WITH_WIN32 +AM_CFLAGS = -DNEATOGEN_EXPORTS=1 +endif + noinst_LTLIBRARIES = libneatogen_C.la noinst_HEADERS = adjust.h edges.h geometry.h heap.h hedges.h info.h mem.h \ -- 2.40.0