summaryrefslogtreecommitdiff
path: root/misc
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 /misc
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 'misc')
-rw-r--r--misc/Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/Makefile.common b/misc/Makefile.common
index 39fd94541..200617c2a 100644
--- a/misc/Makefile.common
+++ b/misc/Makefile.common
@@ -1,5 +1,7 @@
XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la
+
xineplugdir = $(XINE_PLUGINDIR)
+xineplug_ldflags = $(NOUNDEF) -avoid-version -module
$(XINE_LIB):
@cd $(top_srcdir)/src/xine-engine && $(MAKE)