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

Collapse All | Expand All

(-)libltdl/config/ltmain.sh (-2 / +8 lines)
Lines 5768-5774 Link Here
5768
	       test "$hardcode_direct_absolute" = no; then
5768
	       test "$hardcode_direct_absolute" = no; then
5769
	      add="$libdir/$linklib"
5769
	      add="$libdir/$linklib"
5770
	    elif test "$hardcode_minus_L" = yes; then
5770
	    elif test "$hardcode_minus_L" = yes; then
5771
	      add_dir="-L$libdir"
5771
 	      # Try looking first in the location we're being installed to.
5772
 	      if test -n "$inst_prefix_dir"; then
5773
	      	  add_dir="-L$inst_prefix_dir$libdir"
5774
	      else
5775
	      	  add_dir="-L$libdir"
5776
	      fi
5772
	      add="-l$name"
5777
	      add="-l$name"
5773
	    elif test "$hardcode_shlibpath_var" = yes; then
5778
	    elif test "$hardcode_shlibpath_var" = yes; then
5774
	      case :$finalize_shlibpath: in
5779
	      case :$finalize_shlibpath: in
Lines 5785-5791 Link Here
5785
	      fi
5790
	      fi
5786
	    else
5791
	    else
5787
	      # We cannot seem to hardcode it, guess we'll fake it.
5792
	      # We cannot seem to hardcode it, guess we'll fake it.
5788
	      add_dir="-L$libdir"
5789
	      # Try looking first in the location we're being installed to.
5793
	      # Try looking first in the location we're being installed to.
5790
	      if test -n "$inst_prefix_dir"; then
5794
	      if test -n "$inst_prefix_dir"; then
5791
		case $libdir in
5795
		case $libdir in
Lines 5793-5798 Link Here
5793
		    add_dir="$add_dir -L$inst_prefix_dir$libdir"
5797
		    add_dir="$add_dir -L$inst_prefix_dir$libdir"
5794
		    ;;
5798
		    ;;
5795
		esac
5799
		esac
5800
	      else
5801
	      	  add_dir="-L$libdir"
5796
	      fi
5802
	      fi
5797
	      add="-l$name"
5803
	      add="-l$name"
5798
	    fi
5804
	    fi

Return to bug 262298