now we use -Wl,rpath,/some/path rather than -Wl,rpath=/some/path because the latter does not work on platforms like Mac OS X.
This commit is contained in:
parent
9e4a02acd6
commit
df07bfb081
|
@ -167,7 +167,7 @@ my $ngx_prefix = "$prefix/nginx";
|
||||||
my $resty_opts = build_resty_opts(\%resty_opts);
|
my $resty_opts = build_resty_opts(\%resty_opts);
|
||||||
|
|
||||||
if (@ngx_rpaths) {
|
if (@ngx_rpaths) {
|
||||||
unshift @ngx_ld_opts, "-Wl,-rpath=" . join(":", @ngx_rpaths);
|
unshift @ngx_ld_opts, "-Wl,-rpath," . join(":", @ngx_rpaths);
|
||||||
}
|
}
|
||||||
|
|
||||||
my $ld_opts = '';
|
my $ld_opts = '';
|
||||||
|
|
Loading…
Reference in New Issue