components/openexr/patches/000-ltmain.patch
changeset 7964 d9801318ed3d
parent 7963 18067c41cdb2
equal deleted inserted replaced
7963:18067c41cdb2 7964:d9801318ed3d
     1 Appends -norunpath to address publish error.
       
     2 Will not send upstream.
       
     3 
       
     4 --- ltmain.sh	2016-11-17 10:54:17.548942670 +0000
       
     5 +++ ltmain.sh	2016-11-17 10:58:10.937162981 +0000
       
     6 @@ -7332,7 +7332,8 @@
       
     7  	save_ifs="$IFS"; IFS='~'
       
     8  	for cmd in $cmds; do
       
     9  	  IFS="$save_ifs"
       
    10 -	  eval cmd=\"$cmd\"
       
    11 +	    # Append the command to remove runpath for CC.
       
    12 +	  eval cmd=\"$cmd -norunpath\"
       
    13  	  $opt_silent || {
       
    14  	    func_quote_for_expand "$cmd"
       
    15  	    eval "func_echo $func_quote_for_expand_result"
       
    16 @@ -7755,7 +7756,7 @@
       
    17  	func_warning "\`$output' will be relinked during installation"
       
    18        else
       
    19  	if test "$fast_install" != no; then
       
    20 -	  link_command="$finalize_var$compile_command$finalize_rpath"
       
    21 +	  link_command="$finalize_var$compile_command -norunpath"
       
    22  	  if test "$fast_install" = yes; then
       
    23  	    relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
       
    24  	  else