r13450 - /desktop/unstable/gnome-vfs2/debian/patches/99_ltmain_as-needed.patch

slomo at users.alioth.debian.org slomo at users.alioth.debian.org
Thu Nov 15 04:11:39 UTC 2007


Author: slomo
Date: Thu Nov 15 04:11:38 2007
New Revision: 13450

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13450
Log:
* update patch

Modified:
    desktop/unstable/gnome-vfs2/debian/patches/99_ltmain_as-needed.patch

Modified: desktop/unstable/gnome-vfs2/debian/patches/99_ltmain_as-needed.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/patches/99_ltmain_as-needed.patch?rev=13450&op=diff
==============================================================================
--- desktop/unstable/gnome-vfs2/debian/patches/99_ltmain_as-needed.patch (original)
+++ desktop/unstable/gnome-vfs2/debian/patches/99_ltmain_as-needed.patch Thu Nov 15 04:11:38 2007
@@ -30,3 +30,33 @@
  	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
  	  if test "$linkmode,$pass" = "prog,link"; then
  	    compile_deplibs="$deplib $compile_deplibs"
+--- ltmain.sh.old	2007-11-15 05:09:41.000000000 +0100
++++ ltmain.sh	2007-11-15 05:10:36.000000000 +0100
+@@ -1794,6 +1794,11 @@
+ 	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ 	;;
+ 
++      -Wl,--as-needed)
++       deplibs="$deplibs $arg"
++       continue
++       ;;
++      
+       -Wl,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ 	arg=
+@@ -2134,6 +2139,15 @@
+ 	lib=
+ 	found=no
+ 	case $deplib in
++       -Wl,--as-needed)
++         if test "$linkmode,$pass" = "prog,link"; then
++           compile_deplibs="$deplib $compile_deplibs"
++           finalize_deplibs="$deplib $finalize_deplibs"
++         else
++           deplibs="$deplib $deplibs"
++         fi
++         continue
++         ;;
+ 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+ 	  if test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$deplib $compile_deplibs"




More information about the pkg-gnome-commits mailing list