bugfix: ./configure: relative paths in --add-dynamic-module=PATH option did not work.

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
This commit is contained in:
catatsuy
2018-02-10 18:15:56 +09:00
committed by Yichun Zhang (agentzh)
parent 1555734368
commit 031778f770
2 changed files with 95 additions and 7 deletions

5
util/configure vendored
View File

@ -292,6 +292,11 @@ for my $opt (@ARGV) {
my $mod_path = File::Spec->rel2abs($1);
push @ngx_opts, "--add-module=$mod_path";
} elsif ($opt =~ /^--add-dynamic-module=(.*)/) {
my $mod_path = File::Spec->rel2abs($1);
push @ngx_opts, "--add-dynamic-module=$mod_path";
} elsif ($opt =~ /^--with-(openssl|pcre|zlib|libatomic|md5|sha1)=(.*)/) {
my ($lib, $path) = ($1, $2);