Closed frensley closed 10 years ago
I don't have access to an OSX box, and I don't know either how to run XCode.
Applying your proposed change when using PYTHON_OVERRIDE is not harmful, but does this resolve your issue ?
It it does, I'll merge it. Thanks for the report !
Yes the proposed changes work great. I am wondering if for OSX 10.9 (and maybe lower) should override automatically (python 2.7 is always included with OSX).
Seems there are some issues with linking Python in Xcode 5 (https://developer.apple.com/library/ios/technotes/tn2328/_index.html).
Using PYTHON_OVERRIDE = python also errors:
Determined that $(PY_LDFLAGS) is missing from :
Which results in lots of missing symbol errors: [....]
Determined that SHLIB_LINK is clobbering PGXS info. So changing SHLIB_LINK to:
This seems to resolve the issue. I am not sure how to patch this specifically for OSX yet. I wanted to get this into the project issues in case someone else has suggestions or stumbles onto the same problem.