mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 16:48:11 +00:00
gst/gstplugin.c: Switch to using G_MODULE_BIND_LOCAL, which means plugins are now expected to link against libgstreamer.
Original commit message from CVS: * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file): Switch to using G_MODULE_BIND_LOCAL, which means plugins are now expected to link against libgstreamer. * gst/base/Makefile.am: link against libgstreamer * gst/elements/Makefile.am: same
This commit is contained in:
parent
123bfb04b3
commit
fa948192ac
6 changed files with 26 additions and 12 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2005-03-31 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
|
||||||
|
Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
|
||||||
|
expected to link against libgstreamer.
|
||||||
|
* gst/base/Makefile.am: link against libgstreamer
|
||||||
|
* gst/elements/Makefile.am: same
|
||||||
|
|
||||||
2005-03-31 Andy Wingo <wingo@pobox.com>
|
2005-03-31 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
* tests/instantiate/Makefile.am:
|
* tests/instantiate/Makefile.am:
|
||||||
|
|
|
@ -4,13 +4,15 @@ AS_LIBTOOL_LIB = libgstbase-@GST_MAJORMINOR@
|
||||||
EXTRA_DIST = $(as_libtool_EXTRA_DIST)
|
EXTRA_DIST = $(as_libtool_EXTRA_DIST)
|
||||||
noinst_DATA = $(as_libtool_noinst_DATA_files)
|
noinst_DATA = $(as_libtool_noinst_DATA_files)
|
||||||
|
|
||||||
libgstbase_@GST_MAJORMINOR@_la_DEPENDENCIES = ../libgstreamer-@GST_MAJORMINOR@.la
|
libgstbase_@GST_MAJORMINOR@_la_DEPENDENCIES = \
|
||||||
|
../libgstreamer-@GST_MAJORMINOR@.la
|
||||||
libgstbase_@GST_MAJORMINOR@_la_SOURCES = \
|
libgstbase_@GST_MAJORMINOR@_la_SOURCES = \
|
||||||
gstbasesink.c \
|
gstbasesink.c \
|
||||||
gstbasetransform.c
|
gstbasetransform.c
|
||||||
|
|
||||||
libgstbase_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libgstbase_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libgstbase_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS)
|
libgstbase_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS) \
|
||||||
|
../libgstreamer-@GST_MAJORMINOR@.la
|
||||||
libgstbase_@GST_MAJORMINOR@_la_LDFLAGS = $(as_libtool_LDFLAGS)
|
libgstbase_@GST_MAJORMINOR@_la_LDFLAGS = $(as_libtool_LDFLAGS)
|
||||||
|
|
||||||
libgstbase_@GST_MAJORMINOR@includedir = \
|
libgstbase_@GST_MAJORMINOR@includedir = \
|
||||||
|
|
|
@ -49,9 +49,10 @@ EXTRA_DIST += \
|
||||||
|
|
||||||
|
|
||||||
libgstelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libgstelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libgstelements_la_LIBADD = $(GST_OBJ_LIBS)
|
libgstelements_la_LIBADD = $(GST_OBJ_LIBS) \
|
||||||
libgstelements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(as_libtool_LDFLAGS) \
|
$(top_builddir)/gst/base/libgstbase-@GST_MAJORMINOR@.la \
|
||||||
$(top_builddir)/gst/base/libgstbase-@GST_MAJORMINOR@.la
|
$(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
|
||||||
|
libgstelements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(as_libtool_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
gstaggregator.h \
|
gstaggregator.h \
|
||||||
|
|
|
@ -333,7 +333,7 @@ gst_plugin_check_file (const gchar * filename, GError ** error)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
module = g_module_open (filename, G_MODULE_BIND_LAZY);
|
module = g_module_open (filename, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
|
||||||
|
|
||||||
if (module == NULL) {
|
if (module == NULL) {
|
||||||
GST_DEBUG ("Error loading plugin %s, reason: %s\n", filename,
|
GST_DEBUG ("Error loading plugin %s, reason: %s\n", filename,
|
||||||
|
@ -384,7 +384,7 @@ gst_plugin_load_file (const gchar * filename, GError ** error)
|
||||||
if (!gst_plugin_check_file (filename, error))
|
if (!gst_plugin_check_file (filename, error))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
module = g_module_open (filename, G_MODULE_BIND_LAZY);
|
module = g_module_open (filename, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
|
||||||
|
|
||||||
if (module == NULL)
|
if (module == NULL)
|
||||||
goto load_error;
|
goto load_error;
|
||||||
|
|
|
@ -4,13 +4,15 @@ AS_LIBTOOL_LIB = libgstbase-@GST_MAJORMINOR@
|
||||||
EXTRA_DIST = $(as_libtool_EXTRA_DIST)
|
EXTRA_DIST = $(as_libtool_EXTRA_DIST)
|
||||||
noinst_DATA = $(as_libtool_noinst_DATA_files)
|
noinst_DATA = $(as_libtool_noinst_DATA_files)
|
||||||
|
|
||||||
libgstbase_@GST_MAJORMINOR@_la_DEPENDENCIES = ../libgstreamer-@GST_MAJORMINOR@.la
|
libgstbase_@GST_MAJORMINOR@_la_DEPENDENCIES = \
|
||||||
|
../libgstreamer-@GST_MAJORMINOR@.la
|
||||||
libgstbase_@GST_MAJORMINOR@_la_SOURCES = \
|
libgstbase_@GST_MAJORMINOR@_la_SOURCES = \
|
||||||
gstbasesink.c \
|
gstbasesink.c \
|
||||||
gstbasetransform.c
|
gstbasetransform.c
|
||||||
|
|
||||||
libgstbase_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libgstbase_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libgstbase_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS)
|
libgstbase_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS) \
|
||||||
|
../libgstreamer-@GST_MAJORMINOR@.la
|
||||||
libgstbase_@GST_MAJORMINOR@_la_LDFLAGS = $(as_libtool_LDFLAGS)
|
libgstbase_@GST_MAJORMINOR@_la_LDFLAGS = $(as_libtool_LDFLAGS)
|
||||||
|
|
||||||
libgstbase_@GST_MAJORMINOR@includedir = \
|
libgstbase_@GST_MAJORMINOR@includedir = \
|
||||||
|
|
|
@ -49,9 +49,10 @@ EXTRA_DIST += \
|
||||||
|
|
||||||
|
|
||||||
libgstelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libgstelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libgstelements_la_LIBADD = $(GST_OBJ_LIBS)
|
libgstelements_la_LIBADD = $(GST_OBJ_LIBS) \
|
||||||
libgstelements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(as_libtool_LDFLAGS) \
|
$(top_builddir)/gst/base/libgstbase-@GST_MAJORMINOR@.la \
|
||||||
$(top_builddir)/gst/base/libgstbase-@GST_MAJORMINOR@.la
|
$(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
|
||||||
|
libgstelements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(as_libtool_LDFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
gstaggregator.h \
|
gstaggregator.h \
|
||||||
|
|
Loading…
Reference in a new issue