mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
nginx_build_script : fix directory issue
This commit is contained in:
parent
0cf3d8613a
commit
25f21bea0c
@ -29,7 +29,7 @@ git submodule update
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
cd ..
|
||||
cd .. # Directory should be -> ~/nginx_scriptbox
|
||||
|
||||
# lua-nginx-module buildup part (Big Part)
|
||||
#
|
||||
@ -41,8 +41,7 @@ git clone https://github.com/openresty/luajit2
|
||||
|
||||
cd luajit2 && make install PREFIX=/opt/nginx-lua-module/luajit2 && cd ..
|
||||
cd lua-resty-core && make install PREFIX=/opt/nginx-lua-module/ && cd ..
|
||||
cd lua-resty-lrucache && make install PREFIX=/opt/nginx-lua-module/ && cd ..
|
||||
cd ..
|
||||
cd lua-resty-lrucache && make install PREFIX=/opt/nginx-lua-module/ && cd .. # Directory should be -> ~/nginx_scriptbox
|
||||
|
||||
export LUAJIT_LIB=/opt/nginx-lua-module/luajit2/lib
|
||||
export LUAJIT_INC=/opt/nginx-lua-module/luajit2/include/luajit-2.1
|
||||
|
Loading…
Reference in New Issue
Block a user