Ver Fonte

makepanda: on macOS, use Python lib from framework dir if needed

rdb há 9 anos atrás
pai
commit
0ae87e6781
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      makepanda/makepandacore.py

+ 1 - 1
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())