|
@@ -1783,7 +1783,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 (GetOptimize() <= 2): dllext = "_d"
|
|
|
|
|
|
|
+ if (GetOptimize() <= 2 and sys.platform.startswith("win")): 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)
|