From 9f217d259f405c7db33869dbeac37113be899b44 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 28 Sep 2006 10:03:22 +0000 Subject: [PATCH] gst/Makefile.am: Explicitly export _PyGObject_API from our modules, as it's apparently needed for import. Previously ... Original commit message from CVS: * gst/Makefile.am: Explicitly export _PyGObject_API from our modules, as it's apparently needed for import. Previously we implicitly relied on a bug in the core providing --export-dynamic as a link flag. --- ChangeLog | 7 +++++++ gst/Makefile.am | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6208e9d7c7..cec83cc96c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-09-28 Jan Schmidt + + * gst/Makefile.am: + Explicitly export _PyGObject_API from our modules, as it's apparently + needed for import. Previously we implicitly relied on a bug in the + core providing --export-dynamic as a link flag. + 2006-09-23 Thomas Vander Stichele * Makefile.am: diff --git a/gst/Makefile.am b/gst/Makefile.am index 16ad8ff074..715ff54496 100644 --- a/gst/Makefile.am +++ b/gst/Makefile.am @@ -37,7 +37,7 @@ GEN_FILES = arg-types.py gst-types.defs libs.defs base.defs # GStreamer bindings _gst_la_CFLAGS = $(common_cflags) _gst_la_LIBADD = $(common_libadd) $(GST_BASE_LIBS) -_gst_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gst \ +_gst_la_LDFLAGS = $(common_ldflags) -export-symbols-regex "^(init_gst|_PyGObject_API).*" \ $(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) $(GST_NET_LIBS) $(GST_DP_LIBS) _gst_la_SOURCES = \ gst-argtypes.c \ @@ -75,7 +75,8 @@ gst.c: $(GST_DEFS) $(GST_OVERRIDES) $(GEN_FILES) gstversion.override # GStreamer interfaces bindings interfaces_la_CFLAGS = $(common_cflags) $(GST_PLUGINS_BASE_CFLAGS) interfaces_la_LIBADD = $(common_libadd) -lgstinterfaces-$(GST_MAJORMINOR) -interfaces_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initinterface $(GST_PLUGINS_BASE_LIBS) +interfaces_la_LDFLAGS = $(common_ldflags) \ + -export-symbols-regex "^(initinterface|_PyGObject_API).*" $(GST_PLUGINS_BASE_LIBS) interfaces_la_SOURCES = interfacesmodule.c nodist_interfaces_la_SOURCES = interfaces.c INTERFACES_OVERRIDES = interfaces.override xoverlay.override