summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--ext/arts/Makefile.am1
-rw-r--r--ext/artsd/Makefile.am1
-rw-r--r--ext/audiofile/Makefile.am2
-rw-r--r--ext/gsm/Makefile.am1
-rw-r--r--ext/hermes/Makefile.am1
-rw-r--r--ext/ladspa/Makefile.am1
-rw-r--r--ext/sdl/Makefile.am1
-rw-r--r--ext/shout/Makefile.am1
-rw-r--r--ext/smoothwave/Makefile.am1
-rw-r--r--gst/smoothwave/Makefile.am1
-rw-r--r--sys/qcam/Makefile.am1
-rw-r--r--sys/vcd/Makefile.am1
13 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ab7918a8..ce22a073 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/arts/Makefile.am b/ext/arts/Makefile.am
index 5ca2b1ba..0bfc6ceb 100644
--- a/ext/arts/Makefile.am
+++ b/ext/arts/Makefile.am
@@ -22,6 +22,7 @@ libgstarts_la_SOURCES = gst_arts.c gst_artsio.cc gst_artsio_impl.cc
libgstarts_la_CFLAGS = $(GST_CFLAGS)
libgstarts_la_CXXFLAGS = $(ARTS_CXXFLAGS) $(GST_CFLAGS)
libgstarts_la_LIBADD = $(GST_LIBS) $(ARTS_LIBS)
+libgstarts_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
EXTRA_DIST = gst_artsio.idl
else
diff --git a/ext/artsd/Makefile.am b/ext/artsd/Makefile.am
index b9db91fe..5b76fe2f 100644
--- a/ext/artsd/Makefile.am
+++ b/ext/artsd/Makefile.am
@@ -5,5 +5,6 @@ plugin_LTLIBRARIES = libartsdsink.la
libartsdsink_la_SOURCES = gstartsdsink.c
libartsdsink_la_CFLAGS = $(GST_CFLAGS) $(ARTSC_CFLAGS)
libartsdsink_la_LIBADD = $(GST_LIBS) $(ARTSC_LIBS)
+libartsdsink_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstartsdsink.h
diff --git a/ext/audiofile/Makefile.am b/ext/audiofile/Makefile.am
index cb03aa5a..cd301872 100644
--- a/ext/audiofile/Makefile.am
+++ b/ext/audiofile/Makefile.am
@@ -5,9 +5,11 @@ plugin_LTLIBRARIES = libafsink.la libafsrc.la
libafsink_la_SOURCES = gstafsink.c
libafsink_la_CFLAGS = $(GST_CFLAGS)
libafsink_la_LIBADD = $(GST_LIBS) $(AUDIOFILE_LIBS)
+libafsink_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
libafsrc_la_SOURCES = gstafsrc.c
libafsrc_la_CFLAGS = $(GST_CFLAGS)
libafsrc_la_LIBADD = $(GST_LIBS) $(AUDIOFILE_LIBS)
+libafsrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstafsink.h gstafsrc.h
diff --git a/ext/gsm/Makefile.am b/ext/gsm/Makefile.am
index b70b41cd..c44e796b 100644
--- a/ext/gsm/Makefile.am
+++ b/ext/gsm/Makefile.am
@@ -5,6 +5,7 @@ plugin_LTLIBRARIES = libgstgsm.la
libgstgsm_la_SOURCES = gstgsm.c gstgsmdec.c gstgsmenc.c
libgstgsm_la_CFLAGS = $(GST_CFLAGS)
libgstgsm_la_LIBADD = $(GST_LIBS) $(GSM_LIBS)
+libgstgsm_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstgsmenc.h gstgsmdec.h
diff --git a/ext/hermes/Makefile.am b/ext/hermes/Makefile.am
index b221c5cb..b564d4fb 100644
--- a/ext/hermes/Makefile.am
+++ b/ext/hermes/Makefile.am
@@ -17,5 +17,6 @@ endif
libgstcolorspace_la_SOURCES = gstcolorspace.c yuv2yuv.c yuv2rgb.c rgb2yuv.c $(ARCHSRCS)
libgstcolorspace_la_CFLAGS = $(GST_CFLAGS)
libgstcolorspace_la_LIBADD = $(GST_LIBS) $(PLUGIN_EXTRA_LIBS)
+libgstcolorspace_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstcolorspace.h yuv2rgb.h
diff --git a/ext/ladspa/Makefile.am b/ext/ladspa/Makefile.am
index 9f986a48..23c798d5 100644
--- a/ext/ladspa/Makefile.am
+++ b/ext/ladspa/Makefile.am
@@ -5,5 +5,6 @@ plugin_LTLIBRARIES = libgstladspa.la
libgstladspa_la_SOURCES = gstladspa.c search.c load.c
libgstladspa_la_CFLAGS = $(GST_CFLAGS)
libgstladspa_la_LIBADD = $(GST_LIBS)
+libgstladspa_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstladspa.h ladspa.h utils.h
diff --git a/ext/sdl/Makefile.am b/ext/sdl/Makefile.am
index 0b034478..ea8a3640 100644
--- a/ext/sdl/Makefile.am
+++ b/ext/sdl/Makefile.am
@@ -6,5 +6,6 @@ libsdlvideosink_la_SOURCES = sdlvideosink.c
## FIXME I have my doubts about these opti flags
libsdlvideosink_la_CFLAGS = $(GST_CFLAGS) $(SDL_CFLAGS) -ffast-math -finline-functions
libsdlvideosink_la_LIBADD = $(GST_LIBS) $(SDL_LIBS)
+libsdlvideosink_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = sdlvideosink.h
diff --git a/ext/shout/Makefile.am b/ext/shout/Makefile.am
index da20ef43..a110f24a 100644
--- a/ext/shout/Makefile.am
+++ b/ext/shout/Makefile.am
@@ -5,5 +5,6 @@ plugin_LTLIBRARIES = libgstshout.la
libgstshout_la_SOURCES = gstshout.c
libgstshout_la_CFLAGS = $(GST_CFLAGS)
libgstshout_la_LIBADD = $(GST_LIBS) $(SHOUT_LIBS)
+libgstshout_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstshout.h
diff --git a/ext/smoothwave/Makefile.am b/ext/smoothwave/Makefile.am
index d74c4a30..db3ea5a6 100644
--- a/ext/smoothwave/Makefile.am
+++ b/ext/smoothwave/Makefile.am
@@ -5,6 +5,7 @@ plugin_LTLIBRARIES = libgstsmoothwave.la
libgstsmoothwave_la_SOURCES = gstsmoothwave.c
libgstsmoothwave_la_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
libgstsmoothwave_la_LIBADD = $(GST_LIBS) $(GTK_LIBS)
+libgstsmoothwave_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstsmoothwave.h
diff --git a/gst/smoothwave/Makefile.am b/gst/smoothwave/Makefile.am
index d74c4a30..db3ea5a6 100644
--- a/gst/smoothwave/Makefile.am
+++ b/gst/smoothwave/Makefile.am
@@ -5,6 +5,7 @@ plugin_LTLIBRARIES = libgstsmoothwave.la
libgstsmoothwave_la_SOURCES = gstsmoothwave.c
libgstsmoothwave_la_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
libgstsmoothwave_la_LIBADD = $(GST_LIBS) $(GTK_LIBS)
+libgstsmoothwave_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstsmoothwave.h
diff --git a/sys/qcam/Makefile.am b/sys/qcam/Makefile.am
index 523f9ad3..a776c1b5 100644
--- a/sys/qcam/Makefile.am
+++ b/sys/qcam/Makefile.am
@@ -7,5 +7,6 @@ EXTRA_DIST = qcam-os.c qcam-Linux.c
libgstqcam_la_SOURCES = gstqcamsrc.c qcam-lib.c exposure.c
libgstqcam_la_CFLAGS = -O2 $(GST_CFLAGS)
libgstqcam_la_LIBADD = $(GST_LIBS)
+libgstqcam_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = gstqcamsrc.h qcam-os.h qcam.h qcamip.h qcam-Linux.h
diff --git a/sys/vcd/Makefile.am b/sys/vcd/Makefile.am
index bad85a5e..ec94e22d 100644
--- a/sys/vcd/Makefile.am
+++ b/sys/vcd/Makefile.am
@@ -5,5 +5,6 @@ plugin_LTLIBRARIES = libvcdsrc.la
libvcdsrc_la_SOURCES = vcdsrc.c
libvcdsrc_la_CFLAGS = $(GST_CFLAGS)
libvcdsrc_la_LIBADD = $(GST_LIBS)
+libvcdsrc_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
noinst_HEADERS = vcdsrc.h