View | Details | Raw Unified
Collapse All | Expand All

(-) perl-5.8.7/lib/ExtUtils/MM_Unix.pm (+3 lines)
 Lines 1915-1920    Link Here 
	    # LD_RUN_PATH now computed by ExtUtils::Liblist
	    # LD_RUN_PATH now computed by ExtUtils::Liblist
	    ($self->{EXTRALIBS},  $self->{BSLOADLIBS}, 
	    ($self->{EXTRALIBS},  $self->{BSLOADLIBS}, 
             $self->{LDLOADLIBS}, $self->{LD_RUN_PATH}) = @libs;
             $self->{LDLOADLIBS}, $self->{LD_RUN_PATH}) = @libs;
	    # We do not want the build root in RPATH
	    $self->{LD_RUN_PATH} = join ':', grep m!^/(?:usr|opt)!, split /:/,
	                           $self->{LD_RUN_PATH};
	    last;
	    last;
	}
	}
    }
    }