Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync #56

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
Build module
  • Loading branch information
kevleyski committed Sep 4, 2018
commit e32c1ac0224fd311c78b761fc116c0ca82d56619
47 changes: 10 additions & 37 deletions kjsl_buildi_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,46 +34,19 @@ fi

mkdir -p /usr/local/nginx
mkdir -p /usr/local/nginx/nginx
./auto/configure --prefix=/usr/local/etc/nginx \
./configure --prefix=/usr/local/etc/nginx \
--with-cc-opt="-I/usr/local/include -I/usr/local/opt/openssl/include" \
--with-ld-opt="-L/usr/local/lib -L/usr/local/opt/openssl/lib" \
--prefix=/usr/local/etc/nginx \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--with-pcre=/Users/klambert/workspace/nginx/pcre-8.42 \
--with-zlib=/Users/klambert/workspace/nginx/zlib-1.2.11 \
--with-openssl=/Users/klambert/workspace/nginx/openssl-1.0.2o \
--with-http_ssl_module \
--http-client-body-temp-path=/var/cache/nginx/client_temp \
--http-proxy-temp-path=/var/cache/nginx/proxy_temp \
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp \
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp \
--http-scgi-temp-path=/var/cache/nginx/scgi_temp \
--user=nginx \
--group=nginx \
--with-http_realip_module \
--with-http_addition_module \
--with-http_sub_module \
--with-http_dav_module \
--with-http_flv_module \
--with-http_mp4_module \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_random_index_module \
--with-http_secure_link_module \
--with-http_stub_status_module \
--with-http_auth_request_module \
--with-threads \
--with-stream \
--with-http_slice_module \
--with-mail \
--sbin-path=/usr/local/sbin/nginx \
--conf-path=/usr/local/etc/nginx/nginx.conf \
--error-log-path=/usr/local/var/log/nginx/error.log \
--http-log-path=/usr/local/var/log/nginx/access.log \
--pid-path=/usr/local/var/run/nginx.pid \
--lock-path=/usr/local/var/run/nginx.lock \
--add-module=./ngx_devel_kit \
--add-module=./nginx-rtmp-module \
--with-http_v2_module \
--add-module=../smootha/nginx-switch-module \
--with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
--add-module=../smootha/nginx-switch-module

make -j9
sudo make install
Expand Down