mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
configure: support @rpath placeholder in OS X.
This commit is contained in:
parent
fe8f773b1d
commit
0263f89bff
9
util/configure
vendored
9
util/configure
vendored
@ -341,7 +341,14 @@ if ($platform ne 'msys') {
|
||||
my $resty_opts = build_resty_opts(\%resty_opts);
|
||||
|
||||
if (@ngx_rpaths) {
|
||||
unshift @ngx_ld_opts, "-Wl,-rpath," . join(":", @ngx_rpaths);
|
||||
if ($platform eq 'macosx') {
|
||||
for (@ngx_rpaths) {
|
||||
unshift @ngx_ld_opts, "-Wl,-rpath,$_";
|
||||
}
|
||||
|
||||
} else {
|
||||
unshift @ngx_ld_opts, "-Wl,-rpath," . join ":", @ngx_rpaths;
|
||||
}
|
||||
}
|
||||
|
||||
my $ld_opts = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user