summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-02-21 23:07:45 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-02-21 23:07:45 +0000
commit5b46a65efaea9902516ba88503b258c140ad4fc5 (patch)
treeef0182a18fe1ca34286bcbd687e960bfb875adb2 /src
parent1806b4fbeee52df73f7a431adc2279264c17cead (diff)
downloadxine-lib-5b46a65efaea9902516ba88503b258c140ad4fc5.tar.gz
xine-lib-5b46a65efaea9902516ba88503b258c140ad4fc5.tar.bz2
Make -Wl,-z,defs an opt-in ldflag, if available. The $(xineplug_ldflags) variable can be injected in _LDFLAGS for the xine plugins, and already provides -avoid-version -module and -Wl,-z,defs if supported. Right now only wavpack plugin actually make use of this but that can be fixed as the Makefiles are edited.
CVS patchset: 8618 CVS date: 2007/02/21 23:07:45
Diffstat (limited to 'src')
-rw-r--r--src/combined/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/combined/Makefile.am b/src/combined/Makefile.am
index 9733481e3..37bff5dcd 100644
--- a/src/combined/Makefile.am
+++ b/src/combined/Makefile.am
@@ -9,4 +9,4 @@ xineplug_LTLIBRARIES = $(xineplug_wavpack)
xineplug_wavpack_la_SOURCES = demux_wavpack.c decoder_wavpack.c combined_wavpack.c combined_wavpack.h
xineplug_wavpack_la_CFLAGS = $(WAVPACK_CFLAGS) -I$(srcdir)/../demuxers
xineplug_wavpack_la_LIBADD = $(XINE_LIB) $(WAVPACK_LIBS)
-xineplug_wavpack_la_LDFLAGS = -avoid-version -module
+xineplug_wavpack_la_LDFLAGS = $(xineplug_ldflags)