]> granicus.if.org Git - graphviz/commitdiff
statically link ltdl and omit its symbols from any linked libraries on Mac OS X 10...
authorglenlow <devnull@localhost>
Fri, 23 May 2008 05:08:35 +0000 (05:08 +0000)
committerglenlow <devnull@localhost>
Fri, 23 May 2008 05:08:35 +0000 (05:08 +0000)
configure.ac

index ca5534e2174b494ef7e6090bf308ad132e0e0286..b349af84ce5845e67a5628b4ce3bd22546eb6d87 100644 (file)
@@ -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)