[gtk+] Remove regex-based export control



commit ec724fe0fda84b34a4631bbe1a1053acc22bf8ac
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 5 14:27:25 2013 -0400

    Remove regex-based export control
    
    All export control is now happening through annotations
    in the headers.

 configure.ac    |   10 ----------
 gdk/Makefile.am |    3 +--
 gtk/Makefile.am |    2 +-
 3 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cb52261..7024009 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 ******************************************************
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 161996f..ac59887 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -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
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 6967521..326494e 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -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)
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]