Remove regex-based export control

All export control is now happening through annotations
in the headers.
This commit is contained in:
Matthias Clasen 2013-05-05 14:27:25 -04:00
parent 92597da3a0
commit ec724fe0fd
3 changed files with 2 additions and 13 deletions

View File

@ -508,16 +508,6 @@ PKG_CHECK_MODULES(CAIRO_BACKEND, [$cairo_backends])
PKG_CHECK_MODULES(GMODULE, [gmodule-2.0])
if test "$os_win32" != yes; then
# libtool option to control which symbols are exported
# right now, symbols starting with _ are not exported
LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
else
# We currently use .def files on Windows (for gdk and gtk)
LIBTOOL_EXPORT_OPTIONS=
fi
AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
dnl ******************************************************
dnl * See whether to include shared library dependencies *
dnl ******************************************************

View File

@ -54,8 +54,7 @@ LDADD = \
-version-info $(LT_VERSION_INFO) \
-export-dynamic \
-rpath $(libdir) \
$(no_undefined) \
$(LIBTOOL_EXPORT_OPTIONS)
$(no_undefined)
#
# setup source file variables

View File

@ -121,7 +121,7 @@ deps = \
libtool_opts = \
$(GTK_LINK_FLAGS) \
-version-info $(LT_VERSION_INFO) \
-export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS) \
-export-dynamic $(no_undefined) \
-rpath $(libdir) $(libgtk_target_ldflags)