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 \
$(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 \