From 01220dec57416f46641b317ad711ed8e806605d6 Mon Sep 17 00:00:00 2001 From: Wrobell Date: Fri, 18 Jan 2002 02:05:26 +0000 Subject: [PATCH] - plugins are built without versioning info Original commit message from CVS: - plugins are built without versioning info --- configure.ac | 2 ++ ext/alsa/Makefile.am | 1 + ext/cdparanoia/Makefile.am | 1 + ext/gnomevfs/Makefile.am | 2 ++ ext/vorbis/Makefile.am | 1 + sys/v4l/Makefile.am | 47 +++++++++++++------------------------- 6 files changed, 23 insertions(+), 31 deletions(-) diff --git a/configure.ac b/configure.ac index ab7918a8fd..ce22a07346 100644 --- a/configure.ac +++ b/configure.ac @@ -239,6 +239,8 @@ AC_SUBST(X_LIBS) dnl ========================================================================== dnl ============================= gst plugins ================================ dnl ========================================================================== +GST_PLUGIN_LDFLAGS='-module -avoid-version' +AC_SUBST(GST_PLUGIN_LDFLAGS) GST_PLUGINS_ALL="\ ac3parse adder audioscale auparse avi chart\ diff --git a/ext/alsa/Makefile.am b/ext/alsa/Makefile.am index 75fbdf4779..5c31e40b85 100644 --- a/ext/alsa/Makefile.am +++ b/ext/alsa/Makefile.am @@ -5,6 +5,7 @@ plugin_LTLIBRARIES = libgstalsa.la libgstalsa_la_SOURCES = gstalsa.c libgstalsa_la_CFLAGS = $(GST_CFLAGS) $(ALSA_CFLAGS) libgstalsa_la_LIBADD = $(GST_LIBS) $(ALSA_LIBS) +libgstalsa_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ noinst_HEADERS = gstalsa.h diff --git a/ext/cdparanoia/Makefile.am b/ext/cdparanoia/Makefile.am index f5c7e63b24..af63e005eb 100644 --- a/ext/cdparanoia/Makefile.am +++ b/ext/cdparanoia/Makefile.am @@ -5,5 +5,6 @@ plugin_LTLIBRARIES = libgstcdparanoia.la libgstcdparanoia_la_SOURCES = gstcdparanoia.c libgstcdparanoia_la_CFLAGS = $(GST_CFLAGS) libgstcdparanoia_la_LIBADD = $(GST_LIBS) $(CDPARANOIA_LIBS) +libgstcdparanoia_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ noinst_HEADERS = gstcdparanoia.h diff --git a/ext/gnomevfs/Makefile.am b/ext/gnomevfs/Makefile.am index ec91d665ce..36d609aac9 100644 --- a/ext/gnomevfs/Makefile.am +++ b/ext/gnomevfs/Makefile.am @@ -5,7 +5,9 @@ plugin_LTLIBRARIES = libgstgnomevfssrc.la libgstgnomevfssink.la libgstgnomevfssrc_la_SOURCES = gstgnomevfssrc.c libgstgnomevfssrc_la_CFLAGS = $(GST_CFLAGS) $(GNOME_VFS_CFLAGS) libgstgnomevfssrc_la_LIBADD = $(GST_LIBS) $(GNOME_VFS_LIBS) +libgstgnomevfssrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ libgstgnomevfssink_la_SOURCES = gstgnomevfssink.c libgstgnomevfssink_la_CFLAGS = $(GST_CFLAGS) $(GNOME_VFS_CFLAGS) libgstgnomevfssink_la_LIBADD = $(GST_LIBS) $(GNOME_VFS_LIBS) +libgstgnomevfssink_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ diff --git a/ext/vorbis/Makefile.am b/ext/vorbis/Makefile.am index 7b2f60ef54..ec63b5b0fc 100644 --- a/ext/vorbis/Makefile.am +++ b/ext/vorbis/Makefile.am @@ -6,5 +6,6 @@ libgstvorbis_la_SOURCES = vorbis.c vorbisenc.c vorbisdec.c libgstvorbis_la_CFLAGS = $(GST_CFLAGS) $(VORBIS_CFLAGS) ## AM_PATH_VORBIS also sets VORBISENC_LIBS libgstvorbis_la_LIBADD = $(GST_LIBS) $(VORBIS_LIBS) $(VORBISENC_LIBS) +libgstvorbis_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ noinst_HEADERS = vorbisenc.h vorbisdec.h diff --git a/sys/v4l/Makefile.am b/sys/v4l/Makefile.am index bdd7090db9..f5beaa5e0e 100644 --- a/sys/v4l/Makefile.am +++ b/sys/v4l/Makefile.am @@ -3,40 +3,25 @@ plugindir = $(libdir)/gst plugin_LTLIBRARIES = libv4lelement.la libv4lsrc.la \ libv4lmjpegsrc.la libv4lmjpegsink.la -libv4lelement_la_SOURCES = \ - gstv4lelement.c \ - v4l_calls.c -libv4lelement_la_CFLAGS = \ - $(GST_CFLAGS) -libv4lelement_la_LIBADD = \ - $(GST_LIBS) +libv4lelement_la_SOURCES = gstv4lelement.c v4l_calls.c +libv4lelement_la_CFLAGS = $(GST_CFLAGS) +libv4lelement_la_LIBADD = $(GST_LIBS) +libv4lelement_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ -libv4lsrc_la_SOURCES = \ - gstv4lsrc.c \ - v4lsrc_calls.c -libv4lsrc_la_CFLAGS = \ - $(GST_CFLAGS) -libv4lsrc_la_LIBADD = \ - $(GST_LIBS) \ - libv4lelement.la +libv4lsrc_la_SOURCES = gstv4lsrc.c v4lsrc_calls.c +libv4lsrc_la_CFLAGS = $(GST_CFLAGS) +libv4lsrc_la_LIBADD = $(GST_LIBS) libv4lelement.la +libv4lsrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ -libv4lmjpegsrc_la_SOURCES = \ - gstv4lmjpegsrc.c \ - v4lmjpegsrc_calls.c -libv4lmjpegsrc_la_CFLAGS = \ - $(GST_CFLAGS) -libv4lmjpegsrc_la_LIBADD = \ - $(GST_LIBS) \ - libv4lelement.la +libv4lmjpegsrc_la_SOURCES = gstv4lmjpegsrc.c v4lmjpegsrc_calls.c +libv4lmjpegsrc_la_CFLAGS = $(GST_CFLAGS) +libv4lmjpegsrc_la_LIBADD = $(GST_LIBS) libv4lelement.la +libv4lmjpegsrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ -libv4lmjpegsink_la_SOURCES = \ - gstv4lmjpegsink.c \ - v4lmjpegsink_calls.c -libv4lmjpegsink_la_CFLAGS = \ - $(GST_CFLAGS) -libv4lmjpegsink_la_LIBADD = \ - $(GST_LIBS) \ - libv4lelement.la +libv4lmjpegsink_la_SOURCES = gstv4lmjpegsink.c v4lmjpegsink_calls.c +libv4lmjpegsink_la_CFLAGS = $(GST_CFLAGS) +libv4lmjpegsink_la_LIBADD = $(GST_LIBS) libv4lelement.la +libv4lmjpegsink_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ noinst_HEADERS = gstv4lelement.h v4l_calls.h \ gstv4lsrc.h v4lsrc_calls.h \