summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/aac/Makefile.am2
-rw-r--r--plugins/adplug/Makefile.am2
-rw-r--r--plugins/alac/Makefile.am2
-rw-r--r--plugins/alsa/Makefile.am2
-rw-r--r--plugins/ao/Makefile.am2
-rw-r--r--plugins/artwork/Makefile.am2
-rw-r--r--plugins/cdda/Makefile.am2
-rw-r--r--plugins/converter/Makefile.am6
-rw-r--r--plugins/coreaudio/Makefile.am2
-rw-r--r--plugins/dca/Makefile.am2
-rw-r--r--plugins/dsp_libsrc/Makefile.am2
-rw-r--r--plugins/dumb/Makefile.am2
-rw-r--r--plugins/ffap/Makefile.am2
-rw-r--r--plugins/ffmpeg/Makefile.am2
-rw-r--r--plugins/flac/Makefile.am2
-rw-r--r--plugins/gme/Makefile.am2
-rw-r--r--plugins/gtkui/Makefile.am6
-rw-r--r--plugins/hotkeys/Makefile.am2
-rw-r--r--plugins/lastfm/Makefile.am2
-rw-r--r--plugins/m3u/Makefile.am2
-rw-r--r--plugins/medialib/Makefile.am2
-rw-r--r--plugins/mms/Makefile.am2
-rw-r--r--plugins/mono2stereo/Makefile.am2
-rw-r--r--plugins/mpgmad/Makefile.am2
-rw-r--r--plugins/musepack/Makefile.am2
-rw-r--r--plugins/notify/Makefile.am2
-rw-r--r--plugins/nullout/Makefile.am2
-rw-r--r--plugins/oss/Makefile.am2
-rw-r--r--plugins/pltbrowser/Makefile.am4
-rw-r--r--plugins/pulse/Makefile.am2
-rw-r--r--plugins/shellexec/Makefile.am2
-rw-r--r--plugins/shellexecui/Makefile.am4
-rw-r--r--plugins/shn/Makefile.am2
-rw-r--r--plugins/sid/Makefile.am2
-rw-r--r--plugins/sndfile/Makefile.am2
-rw-r--r--plugins/supereq/Makefile.am2
-rw-r--r--plugins/tta/Makefile.am2
-rw-r--r--plugins/vfs_curl/Makefile.am2
-rw-r--r--plugins/vfs_zip/Makefile.am2
-rw-r--r--plugins/vorbis/Makefile.am2
-rw-r--r--plugins/vtx/Makefile.am2
-rw-r--r--plugins/wavpack/Makefile.am2
-rw-r--r--plugins/wildmidi/Makefile.am2
-rw-r--r--plugins/wma/Makefile.am2
44 files changed, 50 insertions, 50 deletions
diff --git a/plugins/aac/Makefile.am b/plugins/aac/Makefile.am
index 642219b3..ffd7b76e 100644
--- a/plugins/aac/Makefile.am
+++ b/plugins/aac/Makefile.am
@@ -3,7 +3,7 @@ aacpath=@top_srcdir@/plugins/aac
aacdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = aac.la
aac_la_SOURCES = aac.c aac_parser.c aac_parser.h
-aac_la_LDFLAGS = -module
+aac_la_LDFLAGS = -module -avoid-version
aac_la_LIBADD = $(LDADD) $(FAAD2_LIBS) ../libmp4ff/libmp4ff.a
AM_CFLAGS = $(CFLAGS) -std=c99 -DUSE_MP4FF -DUSE_TAGGING -I@top_srcdir@/plugins/libmp4ff
diff --git a/plugins/adplug/Makefile.am b/plugins/adplug/Makefile.am
index 398f23ca..68f42af5 100644
--- a/plugins/adplug/Makefile.am
+++ b/plugins/adplug/Makefile.am
@@ -5,7 +5,7 @@ adlibdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = adplug.la
AM_CFLAGS = $(CFLAGS) -std=c99 -I$(adplugpath)/adplug -I$(adplugpath)/libbinio -fPIC
-adplug_la_LDFLAGS = -module $(NOCPPLIB) -lm
+adplug_la_LDFLAGS = -module -avoid-version $(NOCPPLIB) -lm
AM_CPPFLAGS = $(CXXFLAGS) -Dstricmp=strcasecmp -DVERSION=\"2.1\" -I$(adplugpath)/adplug -I$(adplugpath)/libbinio -fno-exceptions -fno-rtti -fno-unwind-tables
diff --git a/plugins/alac/Makefile.am b/plugins/alac/Makefile.am
index da23099c..aace939d 100644
--- a/plugins/alac/Makefile.am
+++ b/plugins/alac/Makefile.am
@@ -4,7 +4,7 @@ pkglib_LTLIBRARIES = alac.la
alac_la_SOURCES = alac_plugin.c\
alac.c decomp.h demux.c demux.h stream.c stream.h
-alac_la_LDFLAGS = -module
+alac_la_LDFLAGS = -module -avoid-version
alac_la_LIBADD = $(LDADD) $(FAAD2_LIBS) ../libmp4ff/libmp4ff.a
AM_CFLAGS = $(CFLAGS) -std=c99 -DUSE_MP4FF -DUSE_TAGGING -I@top_srcdir@/plugins/libmp4ff
diff --git a/plugins/alsa/Makefile.am b/plugins/alsa/Makefile.am
index 265c9b50..d685f290 100644
--- a/plugins/alsa/Makefile.am
+++ b/plugins/alsa/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_ALSA
alsadir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = alsa.la
alsa_la_SOURCES = alsa.c
-alsa_la_LDFLAGS = -module
+alsa_la_LDFLAGS = -module -avoid-version
alsa_la_LIBADD = $(LDADD) $(ALSA_DEPS_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99 $(ALSA_DEPS_CFLAGS)
diff --git a/plugins/ao/Makefile.am b/plugins/ao/Makefile.am
index b9192338..55638c11 100644
--- a/plugins/ao/Makefile.am
+++ b/plugins/ao/Makefile.am
@@ -17,7 +17,7 @@ eng_psf/cpuintrf.h eng_psf/mamemem.h eng_psf/psx.h\
eng_psf/peops/adsr.h eng_psf/peops/dma.h eng_psf/peops/externals.h eng_psf/peops/gauss_i.h eng_psf/peops/registers.h eng_psf/peops/regs.h eng_psf/peops/spu.h eng_psf/peops/stdafx.h\
eng_psf/peops2/adsr.h eng_psf/peops2/dma.h eng_psf/peops2/externals.h eng_psf/peops2/gauss_i.h eng_psf/peops2/psemuxa.h eng_psf/peops2/registers.h eng_psf/peops2/regs.h eng_psf/peops2/reverb.h eng_psf/peops2/spu.h eng_psf/peops2/stdafx.h
-ddb_ao_la_LDFLAGS = -module $(ZLIB_LIBS)
+ddb_ao_la_LDFLAGS = -module -avoid-version $(ZLIB_LIBS)
EXTRA_DIST=eng_psf/peops/reverb.c eng_psf/peops/adsr.c eng_psf/peops/registers.c eng_psf/peops/dma.c eng_psf/peops2/spu2.c eng_psf/peops2/reverb2.c eng_psf/peops2/adsr2.c eng_dsf/arm7memil.c eng_dsf/aicalfo.c eng_ssf/scsplfo.c
diff --git a/plugins/artwork/Makefile.am b/plugins/artwork/Makefile.am
index 3437e85e..5948af9b 100644
--- a/plugins/artwork/Makefile.am
+++ b/plugins/artwork/Makefile.am
@@ -3,7 +3,7 @@ artworkdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = artwork.la
artwork_la_SOURCES = artwork.c artwork.h albumartorg.c albumartorg.h lastfm.c lastfm.h wos.c wos.h escape.c escape.h
-artwork_la_LDFLAGS = -module
+artwork_la_LDFLAGS = -module -avoid-version
if HAVE_IMLIB2
ARTWORK_DEPS=$(IMLIB2_DEPS_LIBS)
diff --git a/plugins/cdda/Makefile.am b/plugins/cdda/Makefile.am
index fd5be951..5d56cf41 100644
--- a/plugins/cdda/Makefile.am
+++ b/plugins/cdda/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_CDDA
cddadir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = cdda.la
cdda_la_SOURCES = cdda.c
-cdda_la_LDFLAGS = -module
+cdda_la_LDFLAGS = -module -avoid-version
cdda_la_LIBADD = $(LDADD) $(CDDA_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99 $(CDDA_CFLAGS)
diff --git a/plugins/converter/Makefile.am b/plugins/converter/Makefile.am
index 54cbea95..f34ec5fc 100644
--- a/plugins/converter/Makefile.am
+++ b/plugins/converter/Makefile.am
@@ -29,11 +29,11 @@ EXTRA_DIST = $(convdata_DATA) converter.glade
AM_CFLAGS = $(CFLAGS) -std=c99 -fPIC
converter_la_SOURCES = converter.c converter.h
-converter_la_LDFLAGS = -module
+converter_la_LDFLAGS = -module -avoid-version
if HAVE_GTK2
converter_gtk2_la_SOURCES = convgui.c interface.c support.c callbacks.h converter.h interface.h support.h
-converter_gtk2_la_LDFLAGS = -module
+converter_gtk2_la_LDFLAGS = -module -avoid-version
if STATICLINK
GTK_ROOT=@top_srcdir@/$(LIB)/gtk-2.12.12/usr
@@ -48,7 +48,7 @@ endif
if HAVE_GTK3
converter_gtk3_la_SOURCES = convgui.c interface.c support.c callbacks.h converter.h interface.h support.h
-converter_gtk3_la_LDFLAGS = -module
+converter_gtk3_la_LDFLAGS = -module -avoid-version
if STATICLINK
GTK_ROOT_300=@top_srcdir@/$(LIB)/gtk-3.0.0
diff --git a/plugins/coreaudio/Makefile.am b/plugins/coreaudio/Makefile.am
index bd0c66c5..1e33b85a 100644
--- a/plugins/coreaudio/Makefile.am
+++ b/plugins/coreaudio/Makefile.am
@@ -1,7 +1,7 @@
if HAVE_COREAUDIO
pkglib_LTLIBRARIES = coreaudio.la
coreaudio_la_SOURCES = coreaudio.c
-coreaudio_la_LDFLAGS = -module
+coreaudio_la_LDFLAGS = -module -avoid-version
coreaudio_la_LIBADD = $(LDADD) $(COREAUDIO_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99 $(COREAUDIO_CFLAGS)
diff --git a/plugins/dca/Makefile.am b/plugins/dca/Makefile.am
index 9819c5aa..a887fb99 100644
--- a/plugins/dca/Makefile.am
+++ b/plugins/dca/Makefile.am
@@ -22,7 +22,7 @@ tables_quantization.h\
tables_vq.h\
bitstream.h
-dca_la_LDFLAGS = -module
+dca_la_LDFLAGS = -module -avoid-version
dca_la_LIBADD = $(LDADD) -lm
AM_CFLAGS = $(CFLAGS) -fPIC -std=c99
diff --git a/plugins/dsp_libsrc/Makefile.am b/plugins/dsp_libsrc/Makefile.am
index 42c6a347..44527d4c 100644
--- a/plugins/dsp_libsrc/Makefile.am
+++ b/plugins/dsp_libsrc/Makefile.am
@@ -3,7 +3,7 @@ pkglib_LTLIBRARIES = dsp_libsrc.la
dsp_libsrc_la_SOURCES = src.c src.h
-dsp_libsrc_la_LDFLAGS = -module
+dsp_libsrc_la_LDFLAGS = -module -avoid-version
dsp_libsrc_la_LIBADD = $(LIBADD) $(LIBSAMPLERATE_DEPS_LIBS)
diff --git a/plugins/dumb/Makefile.am b/plugins/dumb/Makefile.am
index 38e6d830..74e2357b 100644
--- a/plugins/dumb/Makefile.am
+++ b/plugins/dumb/Makefile.am
@@ -6,7 +6,7 @@ EXTRA_DIST = $(dumbpath)/readme.txt $(dumbpath)/ChangeLog $(dumbpath)/licence.tx
pkglib_LTLIBRARIES = ddb_dumb.la
AM_CFLAGS = $(CFLAGS) -I$(dumbpath)/include -std=c99
-ddb_dumb_la_LDFLAGS = -module -lm
+ddb_dumb_la_LDFLAGS = -module -avoid-version -lm
ddb_dumb_la_SOURCES =\
dumb-kode54/src/it/readam.c\
diff --git a/plugins/ffap/Makefile.am b/plugins/ffap/Makefile.am
index 24cd7909..ca2e7282 100644
--- a/plugins/ffap/Makefile.am
+++ b/plugins/ffap/Makefile.am
@@ -23,7 +23,7 @@ if APE_USE_YASM
endif
endif
-ffap_la_LDFLAGS = -module -lm
+ffap_la_LDFLAGS = -module -avoid-version -lm
AM_CFLAGS = $(CFLAGS) -fPIC -std=c99
endif
diff --git a/plugins/ffmpeg/Makefile.am b/plugins/ffmpeg/Makefile.am
index 0793990f..41191995 100644
--- a/plugins/ffmpeg/Makefile.am
+++ b/plugins/ffmpeg/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_FFMPEG
ffmpegdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = ffmpeg.la
ffmpeg_la_SOURCES = ffmpeg.c
-ffmpeg_la_LDFLAGS = -module
+ffmpeg_la_LDFLAGS = -module -avoid-version
ffmpeg_la_LIBADD = $(LDADD) $(FFMPEG_DEPS_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99 ${FFMPEG_DEPS_CFLAGS}
diff --git a/plugins/flac/Makefile.am b/plugins/flac/Makefile.am
index 1e8b09bc..51efb662 100644
--- a/plugins/flac/Makefile.am
+++ b/plugins/flac/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_FLAC
flacdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = flac.la
flac_la_SOURCES = flac.c
-flac_la_LDFLAGS = -module
+flac_la_LDFLAGS = -module -avoid-version
flac_la_LIBADD = $(LDADD) $(FLAC_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99
diff --git a/plugins/gme/Makefile.am b/plugins/gme/Makefile.am
index 204aa1a8..05996e36 100644
--- a/plugins/gme/Makefile.am
+++ b/plugins/gme/Makefile.am
@@ -184,7 +184,7 @@ gme_la_SOURCES = cgme.c\
$(gmeversion)/gme/Z80_Cpu.h\
$(gmeversion)/gme/Z80_Cpu_run.h
-gme_la_LDFLAGS = -module $(NOCPPLIB)
+gme_la_LDFLAGS = -module -avoid-version $(NOCPPLIB)
gme_la_LIBADD = $(ZLIB_LIBS)
AM_CFLAGS = $(CFLAGS) $(ZLIB_CFLAGS) -I$(gmepath) -std=c99 -DGME_VERSION_055
diff --git a/plugins/gtkui/Makefile.am b/plugins/gtkui/Makefile.am
index 830775e2..f7fb1203 100644
--- a/plugins/gtkui/Makefile.am
+++ b/plugins/gtkui/Makefile.am
@@ -152,7 +152,7 @@ GTKUI_SOURCES_GTK2 = $(GTKUI_SOURCES)
#GTKGLEXT_CFLAGS_GTK2 = -I@top_srcdir@/plugins/gtkui/gtkglext-gtk2 -I@top_srcdir@/plugins/gtkui/gtkglext-gtk2/gdk -DGTK_GL_COMPILATION -DGDK_GL_COMPILATION
ddb_gui_GTK2_la_SOURCES = $(GTKUI_SOURCES_GTK2)
-ddb_gui_GTK2_la_LDFLAGS = -module
+ddb_gui_GTK2_la_LDFLAGS = -module -avoid-version
if STATICLINK
GTK_ROOT_216=@top_srcdir@/$(LIB)/gtk-2.16.0
@@ -231,7 +231,7 @@ GTKUI_SOURCES_GTK3 = $(GTKUI_SOURCES)
GTKGLEXT_CFLAGS_GTK3 = -I@top_srcdir@/plugins/gtkui/gtkglext-gtk3 -I@top_srcdir@/plugins/gtkui/gtkglext-gtk3/gdk -DGTK_GL_COMPILATION -DGDK_GL_COMPILATION
-ddb_gui_GTK3_la_LDFLAGS = -module
+ddb_gui_GTK3_la_LDFLAGS = -module -avoid-version
if STATICLINK
ddb_gui_GTK3_la_SOURCES = $(GTKUI_SOURCES_GTK3)
@@ -254,7 +254,7 @@ if STATICLINK
GTK_ROOT=@top_srcdir@/$(LIB)/gtk-2.12.12/usr
ddb_gui_GTK2_fallback_la_SOURCES = $(GTKUI_SOURCES_GTK2)
-ddb_gui_GTK2_fallback_la_LDFLAGS = -module
+ddb_gui_GTK2_fallback_la_LDFLAGS = -module -avoid-version
ddb_gui_GTK2_fallback_la_LIBADD = $(LDADD) -L$(GTK_ROOT)/lib $(GTK_ROOT)/lib/libgtk-x11-2.0.la $(GTK_ROOT)/lib/libgdk-x11-2.0.la $(GTK_ROOT)/lib/libpangoft2-1.0.la $(GTK_ROOT)/lib/libpangocairo-1.0.la $(GTK_ROOT)/lib/libgdk_pixbuf-2.0.la -lm $(GTK_ROOT)/lib/libcairo.la $(GTK_ROOT)/lib/libpango-1.0.la $(GTK_ROOT)/lib/libgobject-2.0.la $(GTK_ROOT)/lib/libgmodule-2.0.la $(GTK_ROOT)/lib/libgthread-2.0.la -lrt $(GTK_ROOT)/lib/libglib-2.0.la $(SM_LIBADD) ../libparser/libparser.a $(GTKGLEXT2_LIBS)
diff --git a/plugins/hotkeys/Makefile.am b/plugins/hotkeys/Makefile.am
index b9624917..5f5fb965 100644
--- a/plugins/hotkeys/Makefile.am
+++ b/plugins/hotkeys/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_HOTKEYS
hotkeysdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = hotkeys.la
hotkeys_la_SOURCES = hotkeys.c hotkeys.h ../libparser/parser.c ../libparser/parser.h actionhandlers.c actionhandlers.h
-hotkeys_la_LDFLAGS = -module
+hotkeys_la_LDFLAGS = -module -avoid-version
EXTRA_hotkeys_la_SOURCES = keysyms.inc
diff --git a/plugins/lastfm/Makefile.am b/plugins/lastfm/Makefile.am
index b7f9b8d2..946edece 100644
--- a/plugins/lastfm/Makefile.am
+++ b/plugins/lastfm/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_LASTFM
lastfmdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = lastfm.la
lastfm_la_SOURCES = lastfm.c
-lastfm_la_LDFLAGS = -module
+lastfm_la_LDFLAGS = -module -avoid-version
lastfm_la_LIBADD = $(LDADD) $(CURL_LIBS)
AM_CFLAGS = -std=c99 $(CURL_CFLAGS)
diff --git a/plugins/m3u/Makefile.am b/plugins/m3u/Makefile.am
index fdb61527..122af599 100644
--- a/plugins/m3u/Makefile.am
+++ b/plugins/m3u/Makefile.am
@@ -3,7 +3,7 @@ pkglib_LTLIBRARIES = m3u.la
m3u_la_SOURCES = m3u.c
-m3u_la_LDFLAGS = -module -lm
+m3u_la_LDFLAGS = -module -avoid-version -lm
m3u_la_LIBADD = $(LIBADD)
diff --git a/plugins/medialib/Makefile.am b/plugins/medialib/Makefile.am
index 0406cac9..169c7499 100644
--- a/plugins/medialib/Makefile.am
+++ b/plugins/medialib/Makefile.am
@@ -1,7 +1,7 @@
if HAVE_MEDIALIB
pkglib_LTLIBRARIES = medialib.la
medialib_la_SOURCES = medialib.c
-medialib_la_LDFLAGS = -module
+medialib_la_LDFLAGS = -module -avoid-version
medialib_la_LIBADD = $(LDADD)
AM_CFLAGS = $(CFLAGS) -std=c99 -fPIC
diff --git a/plugins/mms/Makefile.am b/plugins/mms/Makefile.am
index f16f7412..89eb9220 100644
--- a/plugins/mms/Makefile.am
+++ b/plugins/mms/Makefile.am
@@ -15,7 +15,7 @@ mms_la_SOURCES = mmsplug.c\
libmms/mmsx.h\
libmms/uri.h
-mms_la_LDFLAGS = -module
+mms_la_LDFLAGS = -module -avoid-version
mms_la_LIBADD = $(LDADD) $(LIBMMS_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99
diff --git a/plugins/mono2stereo/Makefile.am b/plugins/mono2stereo/Makefile.am
index ccbbf846..d998e808 100644
--- a/plugins/mono2stereo/Makefile.am
+++ b/plugins/mono2stereo/Makefile.am
@@ -1,7 +1,7 @@
if HAVE_MONO2STEREO
pkglib_LTLIBRARIES = ddb_mono2stereo.la
ddb_mono2stereo_la_SOURCES = mono2stereo.c
-ddb_mono2stereo_la_LDFLAGS = -module
+ddb_mono2stereo_la_LDFLAGS = -module -avoid-version
ddb_mono2stereo_la_LIBADD = $(LDADD)
AM_CFLAGS = $(CFLAGS) -std=c99
diff --git a/plugins/mpgmad/Makefile.am b/plugins/mpgmad/Makefile.am
index 4cd3b67f..814b81e4 100644
--- a/plugins/mpgmad/Makefile.am
+++ b/plugins/mpgmad/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_MPGMAD
mpgmaddir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = mpgmad.la
mpgmad_la_SOURCES = mpgmad.c
-mpgmad_la_LDFLAGS = -module
+mpgmad_la_LDFLAGS = -module -avoid-version
mpgmad_la_LIBADD = $(LDADD) $(MAD_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99 -fPIC
diff --git a/plugins/musepack/Makefile.am b/plugins/musepack/Makefile.am
index c82490aa..513c694a 100644
--- a/plugins/musepack/Makefile.am
+++ b/plugins/musepack/Makefile.am
@@ -24,7 +24,7 @@ mpc/streaminfo.h\
mpc/mpc_types.h\
mpc/minimax.h
-musepack_la_LDFLAGS = -module
+musepack_la_LDFLAGS = -module -avoid-version
musepack_la_LIBADD = $(LDADD) -lm
AM_CFLAGS = $(CFLAGS) -fPIC -std=c99
diff --git a/plugins/notify/Makefile.am b/plugins/notify/Makefile.am
index f499458f..afcd5cbd 100644
--- a/plugins/notify/Makefile.am
+++ b/plugins/notify/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_NOTIFY
notifydir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = notify.la
notify_la_SOURCES = notify.c
-notify_la_LDFLAGS = -module
+notify_la_LDFLAGS = -module -avoid-version
notify_la_LIBADD = $(LDADD) $(NOTIFY_LIBS)
AM_CFLAGS = $(CFLAGS) $(NOTIFY_CFLAGS) -std=c99
diff --git a/plugins/nullout/Makefile.am b/plugins/nullout/Makefile.am
index 73e63136..97042f9b 100644
--- a/plugins/nullout/Makefile.am
+++ b/plugins/nullout/Makefile.am
@@ -2,6 +2,6 @@ if HAVE_NULLOUT
nulloutdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = nullout.la
nullout_la_SOURCES = nullout.c
-nullout_la_LDFLAGS = -module
+nullout_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = $(CFLAGS) -std=c99
endif
diff --git a/plugins/oss/Makefile.am b/plugins/oss/Makefile.am
index cd7e1675..61ff079a 100644
--- a/plugins/oss/Makefile.am
+++ b/plugins/oss/Makefile.am
@@ -3,5 +3,5 @@ ossdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = oss.la
AM_CFLAGS = $(CFLAGS) $(OSS_CFLAGS) -std=c99
oss_la_SOURCES = oss.c
-oss_la_LDFLAGS = -module
+oss_la_LDFLAGS = -module -avoid-version
endif
diff --git a/plugins/pltbrowser/Makefile.am b/plugins/pltbrowser/Makefile.am
index 52dc5ff5..ddd396c3 100644
--- a/plugins/pltbrowser/Makefile.am
+++ b/plugins/pltbrowser/Makefile.am
@@ -16,7 +16,7 @@ AM_CFLAGS = $(CFLAGS) -std=c99 -fPIC
if HAVE_GTK2
pltbrowser_gtk2_la_SOURCES = pltbrowser.c support.c support.h
-pltbrowser_gtk2_la_LDFLAGS = -module
+pltbrowser_gtk2_la_LDFLAGS = -module -avoid-version
if STATICLINK
GTK_ROOT=@top_srcdir@/$(LIB)/gtk-2.12.12/usr
@@ -31,7 +31,7 @@ endif
if HAVE_GTK3
pltbrowser_gtk3_la_SOURCES = pltbrowser.c
-pltbrowser_gtk3_la_LDFLAGS = -module
+pltbrowser_gtk3_la_LDFLAGS = -module -avoid-version
if STATICLINK
GTK_ROOT_300=@top_srcdir@/$(LIB)/gtk-3.0.0
diff --git a/plugins/pulse/Makefile.am b/plugins/pulse/Makefile.am
index d0e29c66..bdd7f38c 100644
--- a/plugins/pulse/Makefile.am
+++ b/plugins/pulse/Makefile.am
@@ -3,6 +3,6 @@ pulsedir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = pulse.la
AM_CFLAGS = $(CFLAGS) $(PULSE_DEPS_CFLAGS) -std=c99
pulse_la_SOURCES = pulse.c
-pulse_la_LDFLAGS = -module
+pulse_la_LDFLAGS = -module -avoid-version
pulse_la_LIBADD = $(LDADD) $(PULSE_DEPS_LIBS)
endif
diff --git a/plugins/shellexec/Makefile.am b/plugins/shellexec/Makefile.am
index d38a08b7..6aa71454 100644
--- a/plugins/shellexec/Makefile.am
+++ b/plugins/shellexec/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_SHELLEXEC
shxdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = shellexec.la
shellexec_la_SOURCES = shellexec.c shellexec.h
-shellexec_la_LDFLAGS = -module
+shellexec_la_LDFLAGS = -module -avoid-version
shellexec_la_LIBADD = $(LDADD)
AM_CFLAGS = $(CFLAGS) -std=c99
diff --git a/plugins/shellexecui/Makefile.am b/plugins/shellexecui/Makefile.am
index 4fb4e018..ee15f428 100644
--- a/plugins/shellexecui/Makefile.am
+++ b/plugins/shellexecui/Makefile.am
@@ -18,7 +18,7 @@ AM_CFLAGS = $(CFLAGS) -std=c99 -fPIC
if HAVE_GTK2
shellexecui_gtk2_la_SOURCES = shellexecui.c interface.c support.c callbacks.c interface.h support.h callbacks.h
-shellexecui_gtk2_la_LDFLAGS = -module
+shellexecui_gtk2_la_LDFLAGS = -module -avoid-version
if STATICLINK
GTK_ROOT=@top_srcdir@/$(LIB)/gtk-2.12.12/usr
@@ -33,7 +33,7 @@ endif
if HAVE_GTK3
shellexecui_gtk3_la_SOURCES = shellexecui.c interface.c support.c callbacks.c interface.h support.h callbacks.h
-shellexecui_gtk3_la_LDFLAGS = -module
+shellexecui_gtk3_la_LDFLAGS = -module -avoid-version
if STATICLINK
GTK_ROOT_300=@top_srcdir@/$(LIB)/gtk-3.0.0
diff --git a/plugins/shn/Makefile.am b/plugins/shn/Makefile.am
index acc597ef..297da842 100644
--- a/plugins/shn/Makefile.am
+++ b/plugins/shn/Makefile.am
@@ -3,7 +3,7 @@ shndir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = ddb_shn.la
ddb_shn_la_SOURCES = array.c convert.c misc.c output.c seek.c shn.c shn.h shorten.c shorten.h sulawalaw.c vario.c wave.c bitshift.h
-ddb_shn_la_LDFLAGS = -module
+ddb_shn_la_LDFLAGS = -module -avoid-version
ddb_shn_la_LIBADD = $(LDADD) -lm
AM_CFLAGS = $(CFLAGS) -std=c99
diff --git a/plugins/sid/Makefile.am b/plugins/sid/Makefile.am
index 992dc37f..690834c9 100644
--- a/plugins/sid/Makefile.am
+++ b/plugins/sid/Makefile.am
@@ -103,7 +103,7 @@ sidplay-libs/libsidplay/src/kernal.bin\
sidplay-libs/libsidplay/src/psiddrv.bin\
sidplay-libs/libsidplay/src/poweron.bin
-sid_la_LDFLAGS = -module $(NOCPPLIB)
+sid_la_LDFLAGS = -module -avoid-version $(NOCPPLIB)
AM_CFLAGS = $(CFLAGS) -std=c99 -I$(sidpath)/libsidplay/include -I$(sidpath)/builders/resid-builder/include -fPIC
AM_CPPFLAGS = $(CXXFLAGS) -DHAVE_UNIX -I$(sidpath) -I$(sidpath)/unix -I$(sidpath)/libsidplay -I$(sidpath)/libsidplay/include -I$(sidpath)/libsidplay/include/sidplay -I$(sidpath)/libsidutils/include/sidplay/utils -I$(sidpath)/builders/resid-builder/include/sidplay/builders -I$(sidpath)/builders/resid-builder/include -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -fno-exceptions -fno-rtti -fno-unwind-tables
diff --git a/plugins/sndfile/Makefile.am b/plugins/sndfile/Makefile.am
index d5c7c9af..d0116c64 100644
--- a/plugins/sndfile/Makefile.am
+++ b/plugins/sndfile/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_SNDFILE
sndfiledir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = sndfile.la
sndfile_la_SOURCES = sndfile.c
-sndfile_la_LDFLAGS = -module
+sndfile_la_LDFLAGS = -module -avoid-version
sndfile_la_LIBADD = $(LDADD) $(SNDFILE_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99
diff --git a/plugins/supereq/Makefile.am b/plugins/supereq/Makefile.am
index 0daa9577..e78c9796 100644
--- a/plugins/supereq/Makefile.am
+++ b/plugins/supereq/Makefile.am
@@ -6,7 +6,7 @@ supereq_la_SOURCES = supereq.c Equ.cpp Equ.h Fftsg_fl.c paramlist.hpp
AM_CFLAGS = $(CFLAGS) -std=c99 -DUSE_OOURA
AM_CPPFLAGS = $(CXXFLAGS) -fno-exceptions -fno-rtti -fno-unwind-tables -DUSE_OOURA
-supereq_la_LDFLAGS = -module $(NOCPPLIB)
+supereq_la_LDFLAGS = -module -avoid-version $(NOCPPLIB)
supereq_la_LIBADD = $(LDADD)
endif
diff --git a/plugins/tta/Makefile.am b/plugins/tta/Makefile.am
index e8b319db..aba05c0c 100644
--- a/plugins/tta/Makefile.am
+++ b/plugins/tta/Makefile.am
@@ -7,7 +7,7 @@ pkglib_LTLIBRARIES = tta.la
tta_la_SOURCES = ttaplug.c filter.h ttadec.c ttadec.h
-tta_la_LDFLAGS = -module
+tta_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = $(CFLAGS) -std=c99 -fPIC
endif
diff --git a/plugins/vfs_curl/Makefile.am b/plugins/vfs_curl/Makefile.am
index f092e3fe..47f39301 100644
--- a/plugins/vfs_curl/Makefile.am
+++ b/plugins/vfs_curl/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_VFS_CURL
vfs_curldir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = vfs_curl.la
vfs_curl_la_SOURCES = vfs_curl.c
-vfs_curl_la_LDFLAGS = -module
+vfs_curl_la_LDFLAGS = -module -avoid-version
vfs_curl_la_LIBADD = $(LDADD) $(VFS_CURL_LIBS)
AM_CFLAGS = $(CFLAGS) $(VFS_CURL_CFLAGS) -std=c99
diff --git a/plugins/vfs_zip/Makefile.am b/plugins/vfs_zip/Makefile.am
index 8a03b68d..a2394e11 100644
--- a/plugins/vfs_zip/Makefile.am
+++ b/plugins/vfs_zip/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_VFS_ZIP
pkglib_LTLIBRARIES = vfs_zip.la
vfs_zip_la_SOURCES = vfs_zip.c
-vfs_zip_la_LDFLAGS = -module
+vfs_zip_la_LDFLAGS = -module -avoid-version
vfs_zip_la_LIBADD = $(LDADD) $(ZLIB_LIBS) $(ZIP_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99
diff --git a/plugins/vorbis/Makefile.am b/plugins/vorbis/Makefile.am
index f1beef70..b2376d43 100644
--- a/plugins/vorbis/Makefile.am
+++ b/plugins/vorbis/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_VORBIS
vorbisdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = vorbis.la
vorbis_la_SOURCES = vorbis.c vcedit.c vcedit.h vceditaux.h i18n.h
-vorbis_la_LDFLAGS = -module -lm
+vorbis_la_LDFLAGS = -module -avoid-version -lm
vorbis_la_LIBADD = $(LDADD) $(VORBIS_LIBS)
AM_CFLAGS = $(CFLAGS) $(VORBIS_CFLAGS) -std=c99
diff --git a/plugins/vtx/Makefile.am b/plugins/vtx/Makefile.am
index 02d8de5c..9dec3200 100644
--- a/plugins/vtx/Makefile.am
+++ b/plugins/vtx/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_VTX
vtxdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = vtx.la
vtx_la_SOURCES = vtx.c ay8912.c ayemu_8912.h ayemu.h ayemu_vtxfile.h lh5dec.c vtxfile.c
-vtx_la_LDFLAGS = -module
+vtx_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = $(CFLAGS) -std=c99
endif
diff --git a/plugins/wavpack/Makefile.am b/plugins/wavpack/Makefile.am
index 10f44cf1..06100ea5 100644
--- a/plugins/wavpack/Makefile.am
+++ b/plugins/wavpack/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_WAVPACK
wavpackdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = wavpack.la
wavpack_la_SOURCES = wavpack.c
-wavpack_la_LDFLAGS = -module
+wavpack_la_LDFLAGS = -module -avoid-version
wavpack_la_LIBADD = $(LDADD) $(WAVPACK_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99
diff --git a/plugins/wildmidi/Makefile.am b/plugins/wildmidi/Makefile.am
index 4a221626..49c937f2 100644
--- a/plugins/wildmidi/Makefile.am
+++ b/plugins/wildmidi/Makefile.am
@@ -7,7 +7,7 @@ pkglib_LTLIBRARIES = wildmidi.la
wildmidi_la_SOURCES = wildmidiplug.c src/wildmidi_lib.c include/wildmidi_lib.h
-wildmidi_la_LDFLAGS = -module
+wildmidi_la_LDFLAGS = -module -avoid-version
wildmidi_la_LIBADD = -lm
AM_CFLAGS = $(CFLAGS) -std=c99 -I$(wildmidipath)/include -DWILDMIDI_VERSION=\"0.2.2\" -DWILDMIDILIB_VERSION=\"0.2.2\" -DTIMIDITY_CFG=\"/etc/timidity.conf\" -fPIC
diff --git a/plugins/wma/Makefile.am b/plugins/wma/Makefile.am
index 0d6d1eb7..48dd4411 100644
--- a/plugins/wma/Makefile.am
+++ b/plugins/wma/Makefile.am
@@ -37,7 +37,7 @@ wma_la_SOURCES = wma_plugin.c\
-wma_la_LDFLAGS = -module
+wma_la_LDFLAGS = -module -avoid-version
wma_la_LIBADD = $(LDADD)
AM_CFLAGS = $(CFLAGS) -std=c99 -I$(wmapath)