rdb %!s(int64=16) %!d(string=hai) anos
pai
achega
e04ad3d78f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      makepanda/makepandacore.py

+ 1 - 1
makepanda/makepandacore.py

@@ -1201,7 +1201,7 @@ def SetOrigExt(x, v):
 def CalcLocation(fn, ipath):
 def CalcLocation(fn, ipath):
     if (fn.count("/")): return fn
     if (fn.count("/")): return fn
     dllext = ""
     dllext = ""
-    if (GetOptimizeOption(opts,OPTIMIZE) <= 2): dllext = "_d"
+    if (int(OPTIMIZE) <= 2): dllext = "_d"
 
 
     if (fn == "PandaModules.py"): return "pandac/" + fn
     if (fn == "PandaModules.py"): return "pandac/" + fn
     if (fn.endswith(".cxx")): return CxxFindSource(fn, ipath)
     if (fn.endswith(".cxx")): return CxxFindSource(fn, ipath)