nginx: look for pcre in a more specific location
This commit is contained in:
parent
4a5eb5ce14
commit
78ad1d4bf8
1 changed files with 3 additions and 2 deletions
|
@ -43,9 +43,10 @@ class Nginx < Formula
|
|||
# Changes default port to 8080
|
||||
inreplace 'conf/nginx.conf', 'listen 80;', 'listen 8080;'
|
||||
|
||||
pcre = Formula.factory("pcre")
|
||||
openssl = Formula.factory("openssl")
|
||||
cc_opt = "-I#{HOMEBREW_PREFIX}/include -I#{openssl.include}"
|
||||
ld_opt = "-L#{HOMEBREW_PREFIX}/lib -L#{openssl.lib}"
|
||||
cc_opt = "-I#{pcre.include} -I#{openssl.include}"
|
||||
ld_opt = "-L#{pcre.lib} -L#{openssl.lib}"
|
||||
|
||||
args = ["--prefix=#{prefix}",
|
||||
"--with-http_ssl_module",
|
||||
|
|
Loading…
Reference in a new issue