pull/381/merge
Datong Sun 7 years ago committed by GitHub
commit 30d4d3c65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
util/configure vendored

@ -341,8 +341,15 @@ if ($platform ne 'msys') {
my $resty_opts = build_resty_opts(\%resty_opts); my $resty_opts = build_resty_opts(\%resty_opts);
if (@ngx_rpaths) { if (@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); unshift @ngx_ld_opts, "-Wl,-rpath," . join(":", @ngx_rpaths);
} }
}
my $ld_opts = ''; my $ld_opts = '';
if (@ngx_ld_opts) { if (@ngx_ld_opts) {

Loading…
Cancel
Save