diff --git a/util/configure b/util/configure index f4e6fe4..423c447 100755 --- a/util/configure +++ b/util/configure @@ -341,6 +341,8 @@ push @make_cmds, "cd $root_dir/build/$ngx_dir && " push @make_install_cmds, "cd $root_dir/build/$ngx_dir && " . "\$(MAKE) install DESTDIR=\$(DESTDIR)"; +push @make_install_cmds, "mkdir -p \$(DESTDIR)$prefix/site/lualib"; + if ($platform ne 'msys') { push @make_install_cmds, "ln -sf $ngx_prefix/sbin/nginx \$(DESTDIR)$prefix/bin/openresty"; }