darling-python/2.7/fix/setup.py-21106613.patch
2016-02-18 22:45:27 +01:00

12 lines
459 B
Diff

--- setup.py.orig 2015-06-17 15:13:16.000000000 -0700
+++ setup.py 2015-06-17 15:13:32.000000000 -0700
@@ -59,7 +59,7 @@
"""
Returns True if 'path' can be located in an OSX SDK
"""
- return ( (path.startswith('/usr/') and not path.startswith('/usr/local'))
+ return ( path.startswith('/usr/')
or path.startswith('/System/')
or path.startswith('/Library/') and not path.startswith('/Library/Caches/') )