Skip to content

Fix /usr/bin/ld --with-ld-opt="-static" not found #2

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NGINX_SOURCE=http://nginx.org/download/nginx-1.9.2.tar.gz
# URL of OpenSSL source tarball
OPENSSL_SOURCE=http://www.openssl.org/source/openssl-1.0.1p.tar.gz
# URL of PCRE source tarball
PCRE_SOURCE=http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.gz
PCRE_SOURCE=http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.39.tar.gz

all: nginx/nginx

Expand Down Expand Up @@ -80,7 +80,7 @@ nginx:
mkdir -p $@

nginx/nginx: nginx pcre .nginx-patched .openssl-patched
cd src && ./configure --with-cc-opt=-static --with-ld-opt=-static \
cd src && ./configure --with-cc-opt=-Bstatic --with-ld-opt=-Bstatic \
--with-cpu-opt=generic --with-pcre=../pcre --with-mail \
--with-ipv6 --with-poll_module --with-select_module \
--with-select_module --with-poll_module --with-http_ssl_module \
Expand Down