r23734 - in /desktop/unstable/libgnome-keyring/debian/patches: ./ 99_ltmain_as-needed.patch series
slomo at users.alioth.debian.org
slomo at users.alioth.debian.org
Mon Apr 12 10:52:10 UTC 2010
Author: slomo
Date: Mon Apr 12 10:52:09 2010
New Revision: 23734
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=23734
Log:
* add 99_ltmain_as-needed.patch
Added:
desktop/unstable/libgnome-keyring/debian/patches/
desktop/unstable/libgnome-keyring/debian/patches/99_ltmain_as-needed.patch
desktop/unstable/libgnome-keyring/debian/patches/series
Added: desktop/unstable/libgnome-keyring/debian/patches/99_ltmain_as-needed.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgnome-keyring/debian/patches/99_ltmain_as-needed.patch?rev=23734&op=file
==============================================================================
--- desktop/unstable/libgnome-keyring/debian/patches/99_ltmain_as-needed.patch (added)
+++ desktop/unstable/libgnome-keyring/debian/patches/99_ltmain_as-needed.patch [utf-8] Mon Apr 12 10:52:09 2010
@@ -1,0 +1,30 @@
+--- a/ltmain.sh
++++ b/ltmain.sh
+@@ -4716,6 +4716,11 @@
+ arg=$func_stripname_result
+ ;;
+
++ -Wl,--as-needed)
++ deplibs="$deplibs $arg"
++ continue
++ ;;
++
+ -Wl,*)
+ func_stripname '-Wl,' '' "$arg"
+ args=$func_stripname_result
+@@ -5070,6 +5075,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"
Added: desktop/unstable/libgnome-keyring/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgnome-keyring/debian/patches/series?rev=23734&op=file
==============================================================================
--- desktop/unstable/libgnome-keyring/debian/patches/series (added)
+++ desktop/unstable/libgnome-keyring/debian/patches/series [utf-8] Mon Apr 12 10:52:09 2010
@@ -1,0 +1,1 @@
+99_ltmain_as-needed.patch
More information about the pkg-gnome-commits
mailing list