Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 572038 | Differences between
and this patch

Collapse All | Expand All

(-)a/build-aux/ltmain.in (-2 / +7 lines)
Lines 6432-6438 Link Here
6432
	       test no = "$hardcode_direct_absolute"; then
6432
	       test no = "$hardcode_direct_absolute"; then
6433
	      add=$libdir/$linklib
6433
	      add=$libdir/$linklib
6434
	    elif test yes = "$hardcode_minus_L"; then
6434
	    elif test yes = "$hardcode_minus_L"; then
6435
	      add_dir=-L$libdir
6435
	      add_dir=-L$lt_sysroot$libdir
6436
	      add=-l$name
6436
	      add=-l$name
6437
	    elif test yes = "$hardcode_shlibpath_var"; then
6437
	    elif test yes = "$hardcode_shlibpath_var"; then
6438
	      case :$finalize_shlibpath: in
6438
	      case :$finalize_shlibpath: in
Lines 6449-6455 Link Here
6449
	      fi
6449
	      fi
6450
	    else
6450
	    else
6451
	      # We cannot seem to hardcode it, guess we'll fake it.
6451
	      # We cannot seem to hardcode it, guess we'll fake it.
6452
	      add_dir=-L$libdir
6452
	      add_dir=-L$lt_sysroot$libdir
6453
	      # Try looking first in the location we're being installed to.
6453
	      # Try looking first in the location we're being installed to.
6454
	      if test -n "$inst_prefix_dir"; then
6454
	      if test -n "$inst_prefix_dir"; then
6455
		case $libdir in
6455
		case $libdir in
Lines 7644-7650 Link Here
7644
		  esac
7644
		  esac
7645
		fi
7645
		fi
7646
	      else
7646
	      else
7647
		local sysrooted_libdir
7648
		sysrooted_libdir=$libdir
7649
		func_stripname "$lt_sysroot" '' "$libdir"
7650
		libdir=$func_stripname_result
7647
		eval flag=\"$hardcode_libdir_flag_spec\"
7651
		eval flag=\"$hardcode_libdir_flag_spec\"
7652
		libdir=sysrooted_libdir
7648
		func_append dep_rpath " $flag"
7653
		func_append dep_rpath " $flag"
7649
	      fi
7654
	      fi
7650
	    elif test -n "$runpath_var"; then
7655
	    elif test -n "$runpath_var"; then

Return to bug 572038