mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
makepanda: on macOS, use Python lib from framework dir if needed
This commit is contained in:
parent
92dab31d80
commit
0ae87e6781
@ -2015,7 +2015,7 @@ def SdkLocatePython(prefer_thirdparty_python=False):
|
||||
# Avoid choosing the one in the thirdparty package dir.
|
||||
PkgSetCustomLocation("PYTHON")
|
||||
IncDirectory("PYTHON", py_fwx + "/include")
|
||||
LibDirectory("PYTHON", "%s/usr/lib" % (sysroot))
|
||||
LibDirectory("PYTHON", py_fwx + "/lib")
|
||||
|
||||
#elif GetTarget() == 'windows':
|
||||
# SDK["PYTHON"] = os.path.dirname(sysconfig.get_python_inc())
|
||||
|
Loading…
x
Reference in New Issue
Block a user