Created
October 27, 2016 11:58
-
-
Save jsarenik/8bf7f9e898ae1d591337db421f8b82c3 to your computer and use it in GitHub Desktop.
Configure NGINX with Musl libc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=/usr/local/musl/bin:$PATH | |
sed -i bck 's/configure --disable-shared $PCRE_CONF_OPT/configure --disable-shared --disable-cpp $PCRE_CONF_OPT/' auto/lib/pcre/make | |
./configure --with-cc="musl-gcc" --with-ld-opt="-static" --with-pcre=$HOME/pcre-8.39 --with-http_v2_module --with-openssl=$HOME/openssl-1.0.2j --without-http_scgi_module --without-http_uwsgi_module --without-http_fastcgi_module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment