From d594f42d11ea03efafe80ca416a3d8fce8d8ddd3 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 6 Feb 2010 15:09:19 +0000 Subject: [PATCH] Only use _d suffix on Windows --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index ec85b3caef..05385f9f54 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -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)