Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Ensure MACOSX_DEPLOYMENT_TARGET is a float
Browse files Browse the repository at this point in the history
  • Loading branch information
lithammer committed Dec 7, 2020
1 parent 5d0d41d commit 5636cf0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Formula/python@2.7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def install
cflags << "-I#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers"
end
# Avoid linking to libgcc https://mail.python.org/pipermail/python-dev/2012-February/116205.html
args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}"
args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version.to_f}"

# We want our readline! This is just to outsmart the detection code,
# superenv makes cc always find includes/libs!
Expand Down
2 changes: 1 addition & 1 deletion Formula/python@3.10.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def install
cflags << "-I#{MacOS.sdk_path}/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers"
end
# Avoid linking to libgcc https://mail.python.org/pipermail/python-dev/2012-February/116205.html
args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}"
args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version.to_f}"

# We want our readline! This is just to outsmart the detection code,
# superenv makes cc always find includes/libs!
Expand Down
2 changes: 1 addition & 1 deletion Formula/python@3.5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def install
cflags << "-I#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers"
end
# Avoid linking to libgcc https://mail.python.org/pipermail/python-dev/2012-February/116205.html
args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}"
args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version.to_f}"

# We want our readline! This is just to outsmart the detection code,
# superenv makes cc always find includes/libs!
Expand Down
2 changes: 1 addition & 1 deletion Formula/python@3.6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def install
cflags << "-I#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers"
end
# Avoid linking to libgcc https://mail.python.org/pipermail/python-dev/2012-February/116205.html
args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}"
args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version.to_f}"

# We want our readline! This is just to outsmart the detection code,
# superenv makes cc always find includes/libs!
Expand Down

0 comments on commit 5636cf0

Please sign in to comment.