diff --git a/configure.ac b/configure.ac index 0c30a1521b..1e0c9b311f 100644 --- a/configure.ac +++ b/configure.ac @@ -329,6 +329,11 @@ main() { atomic_t t; atomic_set(&t,0); atomic_inc(&t); atomic_add(1,&t);return 0 ]) fi +dnl ========================================================================== +dnl ============================= gst plugins ================================ +dnl ========================================================================== +GST_PLUGIN_LDFLAGS='-module -avoid-version' +AC_SUBST(GST_PLUGIN_LDFLAGS) dnl ###################################################################### dnl # Check command line parameters, and set shell variables accordingly # diff --git a/gst/elements/Makefile.am b/gst/elements/Makefile.am index a274fb9217..650d3f9688 100644 --- a/gst/elements/Makefile.am +++ b/gst/elements/Makefile.am @@ -20,7 +20,7 @@ libgstelements_la_SOURCES = \ gstmd5sink.c libgstelements_la_CFLAGS = $(GST_CFLAGS) libgstelements_la_LIBADD = $(GST_LIBS) -libgstelements_la_LDFLAGS = -version-info $(GST_LIBVERSION) +libgstelements_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ noinst_HEADERS = \ gstfakesrc.h \ diff --git a/plugins/elements/Makefile.am b/plugins/elements/Makefile.am index a274fb9217..650d3f9688 100644 --- a/plugins/elements/Makefile.am +++ b/plugins/elements/Makefile.am @@ -20,7 +20,7 @@ libgstelements_la_SOURCES = \ gstmd5sink.c libgstelements_la_CFLAGS = $(GST_CFLAGS) libgstelements_la_LIBADD = $(GST_LIBS) -libgstelements_la_LDFLAGS = -version-info $(GST_LIBVERSION) +libgstelements_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@ noinst_HEADERS = \ gstfakesrc.h \