From b4a35c604397e3b019755221cf47b2b57618d8ae Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 26 Jan 2011 20:07:28 +0000 Subject: [PATCH] add a patch not to exclude '-Wl,*' from ldflags to add rpath in ext libraries. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42695 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../perl-keep-linker-flags-in-ldflags.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 patches/perl-keep-linker-flags-in-ldflags.patch diff --git a/patches/perl-keep-linker-flags-in-ldflags.patch b/patches/perl-keep-linker-flags-in-ldflags.patch new file mode 100644 index 0000000000..0c62f082b8 --- /dev/null +++ b/patches/perl-keep-linker-flags-in-ldflags.patch @@ -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' ;; -- 2.30.9