From 0ae87e6781330e893f25b2d71624bae20ec93737 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 11 Jan 2017 19:28:28 +0100 Subject: [PATCH] makepanda: on macOS, use Python lib from framework dir if needed --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 60b38927d4..2f6482c68f 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -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())