From 394245823149e4c0b165bd3d434847ae9dfd0982 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 20 Jul 2009 16:49:50 +0000 Subject: [PATCH] Fix for windows --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 4f546bd199..b1ab939e50 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -844,7 +844,7 @@ def RunGenPyCode(target, inputs, opts): cmdstr += " -r" for i in inputs: if (GetOrigExt(i)==".dll"): - cmdstr += " " + os.path.splitext(i)[0].replace(GetOutputDir()+"/lib/","") + cmdstr += " " + os.path.basename(os.path.splitext(i)[0].replace(GetOutputDir()+"/lib/","")) oscmd(cmdstr)