Browse Source

Bug fix for windows runtime build

rdb 16 years ago
parent
commit
f8576df31f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -760,7 +760,7 @@ def CompileLink(dll, obj, opts):
                 pass
             else: cmd += ' ' + BracketNameWithQuotes(x)
         if (GetOrigExt(dll)==".exe"):
-            cmd += " built/tmp/pandaIcon.res"
+            cmd += " " + GetOutputDir() + "/tmp/pandaIcon.res"
         for (opt, name) in LIBNAMES:
             if (opt=="ALWAYS") or (opts.count(opt)): cmd += " " + BracketNameWithQuotes(name)
         oscmd(cmd)