From 8380e55118a23af009edf2e932f4fc8a9e9590c2 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 4 Aug 2009 06:50:29 +0000 Subject: [PATCH] Fix one last issue with debug dlls --- makepanda/makepanda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 8f753fd5c9..cf28a6d1d2 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -75,7 +75,7 @@ elif (sys.platform.startswith("linux")): else: RUNTIME_PLATFORM = "linux.i386" elif (sys.platform == "darwin"): - RUNTIME_PLATFORM = "osx.i386" + RUNTIME_PLATFORM = "osx.fat" elif (sys.platform.startswith("freebsd")): if (platform.architecture()[0] == "64bit"): RUNTIME_PLATFORM = "freebsd.amd64" @@ -889,7 +889,7 @@ def RunGenPyCode(target, inputs, opts): cmdstr += " -r" for i in inputs: if (GetOrigExt(i)==".dll"): - cmdstr += " " + os.path.basename(os.path.splitext(i)[0].replace(GetOutputDir()+"/lib/","")) + cmdstr += " " + os.path.basename(os.path.splitext(i)[0].replace("_d","").replace(GetOutputDir()+"/lib/","")) oscmd(cmdstr)