We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6acf0b commit 4eb1d19Copy full SHA for 4eb1d19
lib/ExtUtils/MM_Unix.pm
@@ -1049,8 +1049,8 @@ sub xs_make_dynamic_lib {
1049
$ldfrom = "-all $ldfrom -none" if $Is{OSF};
1050
1051
# The IRIX linker doesn't use LD_RUN_PATH
1052
- my $ldrun = $Is{IRIX} && $self->{LD_RUN_PATH} ?
1053
- qq{-rpath "$self->{LD_RUN_PATH}"} : '';
+ my $ldrun = ($Is{IRIX} || $^O eq "darwin") && $self->{LD_RUN_PATH} ?
+ qq{-rpath "$self->{LD_RUN_PATH}"} : '';
1054
1055
# For example in AIX the shared objects/libraries from previous builds
1056
# linger quite a while in the shared dynalinker cache even when nobody
0 commit comments