Преглед изворни кода

Force manifest generation on MSVS installs

Chris Brunner пре 13 година
родитељ
комит
8ba7b5d0de
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      makepanda/makepanda.py

+ 2 - 2
makepanda/makepanda.py

@@ -1120,7 +1120,7 @@ def CompileLib(lib, obj, opts):
     if (COMPILER=="MSVC"):
         if not BOOUSEINTELCOMPILER:
             #Use MSVC Linker
-            cmd = 'link /lib /nologo '
+            cmd = 'link /lib /nologo /MANIFEST '
             if (is_64):
                 cmd += "/MACHINE:X64 "
             cmd += '/OUT:' + BracketNameWithQuotes(lib)
@@ -1156,7 +1156,7 @@ def CompileLib(lib, obj, opts):
 def CompileLink(dll, obj, opts):
     if (COMPILER=="MSVC"):
         if not BOOUSEINTELCOMPILER:
-            cmd = "link /nologo"
+            cmd = "link /nologo /manifest "
             if (is_64):
                 cmd += " /MACHINE:X64"
             if ("MFC" not in opts):