Skip to content

Commit

Permalink
boost@1.55: fix use of deprecated option name "python3"
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Mar 2, 2018
1 parent fc0f9ff commit aa21309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/boost@1.55.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def install
file.write "using darwin : : #{ENV.cxx} ;\n"

# Link against correct version of Python if python3 build was requested
if build.with? "python3"
if build.with? "python"
py3executable = `which python3`.strip
py3version = `python3 -c "import sys; print(sys.version[:3])"`.strip
py3prefix = `python3 -c "import sys; print(sys.prefix)"`.strip
Expand Down

0 comments on commit aa21309

Please sign in to comment.