diff --git a/auto/lib/perl/conf b/auto/lib/perl/conf index b7c0be6fc..2a1a3fe3c 100644 --- a/auto/lib/perl/conf +++ b/auto/lib/perl/conf @@ -41,7 +41,8 @@ if test -n "$NGX_PERL_VER"; then ngx_perl_ldopts=`$NGX_PERL -MExtUtils::Embed -e ldopts` ngx_perl_dlext=`$NGX_PERL -MConfig -e 'print $Config{dlext}'` - ngx_perl_module="src/http/modules/perl/blib/arch/auto/nginx.$ngx_perl_dlext" + ngx_perl_libdir="src/http/modules/perl/blib/arch/auto" + ngx_perl_module="$ngx_perl_libdir/nginx/nginx.$ngx_perl_dlext" if $NGX_PERL -V:usemultiplicity | grep define > /dev/null; then have=NGX_HAVE_PERL_MULTIPLICITY . auto/have