From 961eb11536b9f5695b97d428836b7f915152b7d1 Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Thu, 14 Jul 2016 18:30:07 -0700 Subject: [PATCH] bugfix: forgot to create the directory /site/lualib/. --- util/configure | 2 ++ 1 file changed, 2 insertions(+) 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"; }