[Pkg-cli-libs-commits] r3642 - /packages/gtk-sharp2/branches/cli-policy/99_ltmain_as-needed.dpatch
slomo at users.alioth.debian.org
slomo at users.alioth.debian.org
Thu Mar 6 09:55:51 UTC 2008
Author: slomo
Date: Thu Mar 6 09:55:51 2008
New Revision: 3642
URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=3642
Log:
* add missing file
Added:
packages/gtk-sharp2/branches/cli-policy/99_ltmain_as-needed.dpatch
Added: packages/gtk-sharp2/branches/cli-policy/99_ltmain_as-needed.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gtk-sharp2/branches/cli-policy/99_ltmain_as-needed.dpatch?rev=3642&op=file
==============================================================================
--- packages/gtk-sharp2/branches/cli-policy/99_ltmain_as-needed.dpatch (added)
+++ packages/gtk-sharp2/branches/cli-policy/99_ltmain_as-needed.dpatch Thu Mar 6 09:55:51 2008
@@ -1,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+ at DPATCH@
+
+--- gtk-sharp/ltmain.sh.old 2007-10-09 07:38:25.000000000 +0200
++++ gtk-sharp/ltmain.sh 2007-10-09 07:39:25.000000000 +0200
+@@ -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=
+@@ -2137,6 +2142,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-cli-libs-commits
mailing list