mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 20:09:41 -05:00
python_dependency: fix includes location on 10.9.
Fixes #23837. Fixes #23866.
This commit is contained in:
1 parent
6e09de1969
commit
dcd2907ee2
1 file changed
+2
-2
@@ -142,8 +142,8 @@ class PythonDependency < Requirement
|
||||
if brewed?
|
||||
# Homebrew since a long while only supports frameworked python
|
||||
HOMEBREW_PREFIX/"opt/#{python}/Frameworks/Python.framework/Versions/#{version.major}.#{version.minor}"
|
||||
elsif from_osx?
|
||||
# Python on OS X has been stripped off its includes (unless you install the CLT), therefore we use the MacOS.sdk.
|
||||
elsif from_osx? and MacOS.version < :mavericks
|
||||
# Python on OS X before Mavericks has been stripped off its includes (unless you install the CLT), therefore we use the MacOS.sdk.
|
||||
Pathname.new("#{MacOS.sdk_path}/System/Library/Frameworks/Python.framework/Versions/#{version.major}.#{version.minor}")
|
||||
else
|
||||
# What Python knows about itself
|
||||
|
||||
Reference in new issue
Block a user