Skip to content

Commit

Permalink
Update nginx-full.rb
Browse files Browse the repository at this point in the history
> ./configure: error: invalid option "--with-http_v2_module"

Only >= 1.9.5 support http2.
  • Loading branch information
fengqi committed Feb 12, 2016
1 parent fd0d787 commit ffe6dec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/nginx-full.rb
Expand Up @@ -118,7 +118,11 @@ def self.third_party_modules
depends_on "imlib2" => :optional

# HTTP2 (backward compatibility for spdy)
deprecated_option "with-spdy" => "with-http2"
if build.devel?
deprecated_option "with-spdy" => "with-http2"
else
deprecated_option "with-http2" => "with-spdy"
end

core_modules.each do |arr|
option "with-#{arr[0]}", arr[2]
Expand Down

0 comments on commit ffe6dec

Please sign in to comment.