From: ellson Date: Tue, 18 Oct 2005 18:28:41 +0000 (+0000) Subject: use the libtool trick for the static builds X-Git-Tag: LAST_LIBGRAPH~32^2~7313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a49ac4fe8d2be67e0b3ff5dda22fbd6ffe9985eb;p=graphviz use the libtool trick for the static builds --- diff --git a/cmd/dot/Makefile.am b/cmd/dot/Makefile.am index d1a67e624..abb67ea7b 100644 --- a/cmd/dot/Makefile.am +++ b/cmd/dot/Makefile.am @@ -15,7 +15,7 @@ AM_CPPFLAGS = \ -DBUILTINS if ENABLE_STATIC -bin_PROGRAMS = dot_static +bin_PROGRAMS = dot dot_static else bin_PROGRAMS = dot endif @@ -43,7 +43,8 @@ uninstall-hook: dot.pdf: $(top_srcdir)/cmd/dot/dot.1 groff -Tps -man $(top_srcdir)/cmd/dot/dot.1 | ps2pdf - - >$@ -dot_static_SOURCES = dot.c dot_static_builtins.c +dot_static_SOURCES = dot.c +dot_static_LDFLAGS = -export-dynamic -dlpreopen self -export-symbols-regex '.*_LTX_library' dot_static_LDADD = \ $(top_builddir)/lib/plugin/.libs/libgvplugin_dot_layout.a \ $(top_builddir)/lib/plugin/.libs/libgvplugin_neato_layout.a \