Skip to content

Instantly share code, notes, and snippets.

@keimoon
Created April 10, 2014 04:40
Show Gist options
  • Save keimoon/10343030 to your computer and use it in GitHub Desktop.
Save keimoon/10343030 to your computer and use it in GitHub Desktop.
Compiling Nginx with NEW openssl (1.0.1g) on FREEBSD
# Make /usr/ports/security/openssl first
# Dont clean it
./configure --with-openssl=/usr/ports/security/openssl/work/openssl-1.0.1g
/usr/bin/env CC="cc" FREEBSDCC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" PERL="/usr/local/bin/perl" PTHREAD_CFLAGS= PTHREAD_LIBS=-pthread make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment