Skip to content

Commit 79a3e28

Browse files
author
Chrono Law
committed
config.sh
1 parent 896b3c3 commit 79a3e28

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

config.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/sh
2+
3+
ngx_path=$HOME/nginx
4+
src_path=$HOME/ngx_cpp_dev
5+
6+
cd $ngx_path
7+
8+
./configure \
9+
--with-cc-opt="-g -O0" \
10+
--add-module=$src_path/ngxpp \
11+
--add-module=$src_path/modules/test \
12+
--add-module=$src_path/modules/echo \
13+
--add-module=$src_path/modules/filter \
14+
--add-module=$src_path/modules/upstream \
15+
--add-module=$src_path/modules/loadbalance \
16+
17+
# --with-ld-opt="-lrt"
18+
# --add-module=$src_path/modules/datahook
19+
# --add-module=$src_path/modules/subrequest
20+
# --add-module=$src_path/modules/shmem
21+
# --add-module=$src_path/modules/variables
22+
23+
cd -

0 commit comments

Comments
 (0)