summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-04-28 07:59:07 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-04-28 07:59:07 +0000
commit5fce74f4b4805527f728877f6071ad2a30dce9fd (patch)
treefe8349d4a0d61fbf3f174ecbeb8b1d6917f4bb83
parentd94d7b5e7fa0f8476ca5dd454c25f4ef78fdfd48 (diff)
downloadpygtk-5fce74f4b4805527f728877f6071ad2a30dce9fd.tar.gz
limit the symbols exported by the various modules to just their module
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.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am6
-rw-r--r--gtk/Makefile.am2
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index fa85d910..53326c79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 \