From: glenlow Date: Fri, 23 May 2008 05:08:35 +0000 (+0000) Subject: statically link ltdl and omit its symbols from any linked libraries on Mac OS X 10... X-Git-Tag: LAST_LIBGRAPH~32^2~4008 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0422ee26a3d8c9d705cb78eb1755f1f42c40d7e7;p=graphviz statically link ltdl and omit its symbols from any linked libraries on Mac OS X 10.5; avoid duplicated ltdl code when linking in gvc --- diff --git a/configure.ac b/configure.ac index ca5534e21..b349af84c 100644 --- a/configure.ac +++ b/configure.ac @@ -432,7 +432,13 @@ if test "x$enable_ltdl" != "xno"; then AC_DEFINE(ENABLE_LTDL,1,[Define if you want on-demand plugin loading]) AC_CONFIG_SUBDIRS(libltdl) AC_LIBTOOL_DLOPEN - AC_LIBLTDL_INSTALLABLE + + if test "x$DARWIN9" = "xyes"; then + AC_LIBLTDL_CONVENIENCE + LIBLTDL="$LIBLTDL -Wl,-unexported_symbol,_lt_*" + else + AC_LIBLTDL_INSTALLABLE + fi fi AM_CONDITIONAL(ENABLE_LTDL, [test "x$enable_ltdl" != "xno"]) AC_SUBST(INCLTDL)