commit 789ddd0e645125a8ce1b46b814b70b41c13d2b60
Author: phantomjinx <p.g.richard...@phantomjinx.co.uk>
Date:   Fri May 13 22:28:04 2011 +0100

    Add as-needed to LDFLAGS
    
    * Requirement in debian's social contract to include the as-needed flag in
      linker flags

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8e4b2d2..36930a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,11 +334,11 @@ GTKPOD_CFLAGS="$CFLAGS"
 AC_SUBST(GTKPOD_CFLAGS)
 AC_SUBST(GTKPOD_LIBS)
 
-GTKPOD_PLUGIN_LDFLAGS="-module -avoid-version -no-undefined"
+LDFLAGS="-no-undefined --as-needed"
+GTKPOD_PLUGIN_LDFLAGS="$LDFLAGS -module -avoid-version"
 AC_SUBST(GTKPOD_PLUGIN_LDFLAGS)
 
 
-
 dnl Setup Plugin directories
 dnl ------------------------
 gtkpod_plugin_dir='$(libdir)/$(PACKAGE)'

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to