1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/gettext/trunk/files/0002-Update-ltmain.sh-to-prevent-libtool-stripping-runpat.patch

Revision 10837, 1.3 KB (checked in by bdwalton, 21 months ago)

gettext: patch libtool to not strip runpath args (thx Dago)

  • build-aux/ltmain.sh

    From f07d0231074a94edc074f4732d4fd979faad3829 Mon Sep 17 00:00:00 2001
    From: Ben Walton <bwalton@opencsw.org>
    Date: Mon, 30 Aug 2010 02:48:17 +0200
    Subject: [PATCH] Update ltmain.sh to prevent libtool stripping runpath options
    
    Libtool was stripping some or all of the -xnorunpath and -norunpath
    options at various points during the compilation of libasprintf.
    This prevents that from happening so we don't get things like:
    /opt/SUNWspro/lib/rw7:/opt/SUNWspro/lib/v8:/opt/SUNWspro/lib in the
    R{,UN}PATH variables of the library header.
    
    Signed-off-by: Ben Walton <bwalton@opencsw.org>
    ---
     build-aux/ltmain.sh |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
    index 0dd6f3a..5cab855 100644
    a b  
    49014901      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC 
    49024902      # @file GCC response files 
    49034903      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ 
    4904       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) 
     4904      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-xnorunpath|-norunpath) 
    49054905        func_quote_for_eval "$arg" 
    49064906        arg="$func_quote_for_eval_result" 
    49074907        func_append compile_command " $arg" 
Note: See TracBrowser for help on using the browser.