From: ellson Date: Thu, 19 Jul 2007 14:47:52 +0000 (+0000) Subject: fix problem building with --enable-static on platforms without pango/cairo X-Git-Tag: LAST_LIBGRAPH~32^2~5511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8191dad1b5861940b770a8da961f0d079eeb7bba;p=graphviz fix problem building with --enable-static on platforms without pango/cairo --- diff --git a/cmd/dot/Makefile.am b/cmd/dot/Makefile.am index c577cbe48..77b62a32c 100644 --- a/cmd/dot/Makefile.am +++ b/cmd/dot/Makefile.am @@ -58,6 +58,7 @@ dot.pdf: $(top_srcdir)/cmd/dot/dot.1 dot_static_SOURCES = dot.c $(top_srcdir)/lib/gvc/no_demand_loading.c dot_static_LDFLAGS = -export-dynamic -dlpreopen self -export-symbols-regex '.*_LTX_library' if WITH_MYLIBGD +if WITH_PANGOCAIRO dot_static_LDADD = \ $(top_builddir)/plugin/dot_layout/.libs/libgvplugin_dot_layout_C.a \ $(top_builddir)/plugin/neato_layout/.libs/libgvplugin_neato_layout_C.a \ @@ -71,6 +72,19 @@ dot_static_LDADD = \ $(top_builddir)/lib/gd/libgvgd_C.la \ @ICONV_LIBS@ @FC_LIBS@ @FT_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @EXPAT_LIBS@ @Z_LIBS@ @LIBGEN_LIBS@ @LIBLTDL@ @SOCKET_LIBS@ @IPSEPCOLA_LIBS@ @PANGOCAIRO_LIBS@ @MATH_LIBS@ else +dot_static_LDADD = \ + $(top_builddir)/plugin/dot_layout/.libs/libgvplugin_dot_layout_C.a \ + $(top_builddir)/plugin/neato_layout/.libs/libgvplugin_neato_layout_C.a \ + $(top_builddir)/plugin/core/.libs/libgvplugin_core_C.a \ + $(top_builddir)/plugin/gd/.libs/libgvplugin_gd_C.a \ + $(top_builddir)/lib/gvc/libgvc_C.la \ + $(top_builddir)/lib/pathplan/libpathplan_C.la \ + $(top_builddir)/lib/graph/libgraph_C.la \ + $(top_builddir)/lib/cdt/libcdt_C.la \ + $(top_builddir)/lib/gd/libgvgd_C.la \ + @ICONV_LIBS@ @FC_LIBS@ @FT_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @EXPAT_LIBS@ @Z_LIBS@ @LIBGEN_LIBS@ @LIBLTDL@ @SOCKET_LIBS@ @IPSEPCOLA_LIBS@ @MATH_LIBS@ +endif +else dot_static_LDADD = \ $(top_builddir)/plugin/dot_layout/.libs/libgvplugin_dot_layout_C.a \ $(top_builddir)/plugin/neato_layout/.libs/libgvplugin_neato_layout_C.a \