patches/binutils/2.20/110-RPATH_ENVVAR-smack.patch
author Titus von Boxberg <titus@v9g.de>
Sun Aug 21 17:54:12 2011 +0200 (2011-08-21)
branch1.12
changeset 2635 daa630f28c05
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
complibs/libelf: use target ranlib

For portability, the right ranlib for the target must be passed to
libelf's configure.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from e4a6fefcb0f5ecbcade3ae5edbe609560843aed1)
     1 http://sourceware.org/ml/binutils/2007-07/msg00401.html
     2 http://sourceware.org/bugzilla/show_bug.cgi?id=4970
     3 
     4 --- binutils/configure
     5 +++ binutils/configure
     6 @@ -5601,6 +5601,7 @@ case "${host}" in
     7    *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
     8    *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
     9  esac
    10 +RPATH_ENVVAR="cant_touch_this_nah_nah_nah"
    11  
    12  # On systems where the dynamic library environment variable is PATH,
    13  if test "$RPATH_ENVVAR" = PATH; then