From: glenlow Date: Sat, 23 Feb 2008 00:48:35 +0000 (+0000) Subject: build changes for MinGW: avoid explicit dllimport/dllexport in compiling libltdl... X-Git-Tag: LAST_LIBGRAPH~32^2~4709 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c03200d7a328d40a082a33e7f6de30bda6c045d;p=graphviz build changes for MinGW: avoid explicit dllimport/dllexport in compiling libltdl, lib/gd, plugin/gd; plugin linking with -no-undefined + dependent libs to force DLL creation; plugins installed into lib instead of lib/graphviz in Windows; install symlinks with .exe extension in Windows --- diff --git a/contrib/diffimg/Makefile.am b/contrib/diffimg/Makefile.am index 15bb47fca..fc166e3eb 100644 --- a/contrib/diffimg/Makefile.am +++ b/contrib/diffimg/Makefile.am @@ -14,6 +14,7 @@ diffimg_SOURCES = diffimg.c if WITH_MYLIBGD diffimg_LDADD = $(top_builddir)/lib/gd/libgvgd_C.la \ @FONTCONFIG_LIBS@ @FREETYPE2_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @Z_LIBS@ @MATH_LIBS@ +AM_CPPFLAGS += -DNONDLL else diffimg_LDADD = @GD_LIBS@ @MATH_LIBS@ endif diff --git a/lib/gd/Makefile.am b/lib/gd/Makefile.am index ea913c5da..907bbbaee 100644 --- a/lib/gd/Makefile.am +++ b/lib/gd/Makefile.am @@ -12,6 +12,7 @@ noinst_HEADERS = gd.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h \ gdfonts.h gdfontt.h gdhelpers.h jisx0208.h wbmp.h gdfx.h entities.h noinst_LTLIBRARIES = libgvgd_C.la html_DATA = $(html) +AM_CPPFLAGS += -DNONDLL endif libgvgd_C_la_SOURCES = \