[Erp5-report] r42695 kazuhiko - /erp5/trunk/patches/perl-keep-linker-flags-in-ldflags.patch

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 26 21:07:28 CET 2011


Author: kazuhiko
Date: Wed Jan 26 21:07:28 2011
New Revision: 42695

URL: http://svn.erp5.org?rev=42695&view=rev
Log:
add a patch not to exclude '-Wl,*' from ldflags to add rpath in ext libraries.

Added:
    erp5/trunk/patches/perl-keep-linker-flags-in-ldflags.patch

Added: erp5/trunk/patches/perl-keep-linker-flags-in-ldflags.patch
URL: http://svn.erp5.org/erp5/trunk/patches/perl-keep-linker-flags-in-ldflags.patch?rev=42695&view=auto
==============================================================================
--- erp5/trunk/patches/perl-keep-linker-flags-in-ldflags.patch (added)
+++ erp5/trunk/patches/perl-keep-linker-flags-in-ldflags.patch [utf8] Wed Jan 26 21:07:28 2011
@@ -0,0 +1,20 @@
+--- perl-5.12.3/Configure.orig	2011-01-09 21:20:52.000000000 +0100
++++ perl-5.12.3/Configure	2011-01-26 19:33:33.106561007 +0100
+@@ -8092,16 +8092,7 @@
+ 	case "$dflt" in
+ 	none) dflt='' ;;
+ 	esac
+-	for thisflag in $ldflags; do
+-		case "$thisflag" in
+-		-L*|-R*|-Wl,-R*)
+-			case " $dflt " in
+-			*" $thisflag "*) ;;
+-			*) dflt="$dflt $thisflag" ;;
+-			esac
+-			;;
+-		esac
+-	done
++	dflt="$dflt $ldflags"
+ 
+ 	case "$dflt" in
+ 	''|' ') dflt='none' ;;



More information about the Erp5-report mailing list