mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Only use _d suffix on Windows
This commit is contained in:
parent
4f9f06f499
commit
d594f42d11
@ -1783,7 +1783,7 @@ def SetOrigExt(x, v):
|
||||
def CalcLocation(fn, ipath):
|
||||
if (fn.count("/")): return fn
|
||||
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.endswith(".cxx")): return CxxFindSource(fn, ipath)
|
||||
|
Loading…
x
Reference in New Issue
Block a user