mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
bugfix: ./configure: --with-pcre=PATH did not accept relative path in PATH. thanks smallfish for reporting this issue.
This commit is contained in:
5
util/configure
vendored
5
util/configure
vendored
@ -243,6 +243,11 @@ for my $opt (@ARGV) {
|
||||
my $path = File::Spec->rel2abs($1);
|
||||
push @ngx_opts, "--with-openssl=$path";
|
||||
|
||||
} elsif ($opt =~ /^--with-pcre=(.*)/) {
|
||||
|
||||
my $path = File::Spec->rel2abs($1);
|
||||
push @ngx_opts, "--with-pcre=$path";
|
||||
|
||||
} elsif ($opt =~ /^--\w.*/) {
|
||||
push @ngx_opts, $opt;
|
||||
|
||||
|
Reference in New Issue
Block a user