diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | gtk/Makefile.am | 2 |
3 files changed, 11 insertions, 3 deletions
@@ -1,5 +1,11 @@ 2001-04-28 James Henstridge <james@daa.com.au> + * Makefile.am, pygtk/Makefile.am: limit the symbols exported by + the various modules to just their module init function. + + * gtk/Makefile.am (_gtkmodule_la_LDFLAGS): only export the + init_gtk symbol. + * examples/pygtk-demo/demos/toolbar.py (main): remove buttons that called set_space_size method. diff --git a/Makefile.am b/Makefile.am index 8433873d..047aba4e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,12 +7,14 @@ INCLUDES = $(PYTHON_INCLUDES) $(GLIB_CFLAGS) pyexec_LTLIBRARIES = ExtensionClass.la gobjectmodule.la -ExtensionClass_la_LDFLAGS = -module -avoid-version +ExtensionClass_la_LDFLAGS = -module -avoid-version \ + -export-symbols-regex initExtensionClass ExtensionClass_la_SOURCES = \ ExtensionClass.h \ ExtensionClass.c -gobjectmodule_la_LDFLAGS = -module -avoid-version +gobjectmodule_la_LDFLAGS = -module -avoid-version \ + -export-symbols-regex initgobject gobjectmodule_la_SOURCES = \ gobjectmodule.c \ pygobject.h diff --git a/gtk/Makefile.am b/gtk/Makefile.am index c61b2abd..d483016f 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -15,7 +15,7 @@ pygtk_PYTHON = __init__.py GTK.py GDK.py pygtkexecdir = $(pyexecdir)/gtk pygtkexec_LTLIBRARIES = _gtkmodule.la #$(libglademodule) $(glmodule) -_gtkmodule_la_LDFLAGS = -module -avoid-version +_gtkmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gtk _gtkmodule_la_LIBADD = $(GTK_LIBS) _gtkmodule_la_SOURCES = \ pygtk.h \ |