فهرست منبع

fix compilation on non-windows

rdb 13 سال پیش
والد
کامیت
b686b94385
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      direct/src/showutil/FreezeTool.py

+ 3 - 1
direct/src/showutil/FreezeTool.py

@@ -77,6 +77,9 @@ class CompilationEnvironment:
         # Windows.
         # Windows.
         self.MD = None
         self.MD = None
 
 
+        # Added to the path to the MSVC bin and lib directories on 64-bits Windows.
+        self.suffix64 = ''
+
         # The _d extension to add to dll filenames on Windows in debug builds.
         # The _d extension to add to dll filenames on Windows in debug builds.
         self.dllext = ''
         self.dllext = ''
 
 
@@ -119,7 +122,6 @@ class CompilationEnvironment:
 
 
             # MSVC/bin and /lib directories have a different location
             # MSVC/bin and /lib directories have a different location
             # for win64.
             # for win64.
-            self.suffix64 = ''
             if self.platform == 'win64':
             if self.platform == 'win64':
                 self.suffix64 = '\\amd64'
                 self.suffix64 = '\\amd64'