浏览代码

Bug fix for windows runtime build

rdb 16 年之前
父节点
当前提交
f8576df31f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)