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

Collapse All | Expand All

(-)perl-5.8.7/lib/ExtUtils/MM_Unix.pm (-1 / +4 lines)
Lines 1914-1920 Link Here
1914
	if ($libs[0] or $libs[1] or $libs[2]){
1914
	if ($libs[0] or $libs[1] or $libs[2]){
1915
	    # LD_RUN_PATH now computed by ExtUtils::Liblist
1915
	    # LD_RUN_PATH now computed by ExtUtils::Liblist
1916
	    ($self->{EXTRALIBS},  $self->{BSLOADLIBS}, 
1916
	    ($self->{EXTRALIBS},  $self->{BSLOADLIBS}, 
1917
             $self->{LDLOADLIBS}, $self->{LD_RUN_PATH}) = @libs;
1917
             $self->{LDLOADLIBS}) = @libs;
1918
	    # We do not want the build root in RPATH
1919
	    my @new_libs = grep m!^/usr!, split /:/, join ':', @libs;
1920
	    $self->{LD_RUN_PATH} = join(':',@new_libs);
1918
	    last;
1921
	    last;
1919
	}
1922
	}
1920
    }
1923
    }

Return to bug 105054