17 lines
777 B
Diff
17 lines
777 B
Diff
--- cx_Freeze-5.0.2/setup.py.orig 2017-05-21 00:13:52.000000000 +0200
|
|
+++ cx_Freeze-5.0.2/setup.py 2017-06-16 00:12:24.509258300 +0200
|
|
@@ -77,8 +77,11 @@
|
|
compiler_type = self.compiler.compiler_type
|
|
if compiler_type == "msvc":
|
|
extraArgs.append("/MANIFEST")
|
|
- elif compiler_type == "mingw32" and "Win32GUI" in ext.name:
|
|
- extraArgs.append("-mwindows")
|
|
+ elif compiler_type == "mingw32":
|
|
+ if "Win32GUI" in ext.name:
|
|
+ extraArgs.append("-mwindows")
|
|
+ if sys.version_info[0] == 3:
|
|
+ extraArgs.append("-municode")
|
|
else:
|
|
vars = distutils.sysconfig.get_config_vars()
|
|
libraryDirs.append(vars["LIBPL"])
|