Ignore:
Timestamp:
04/28/19 17:08:03 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Programs are produced for the Windows subsysteam (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docker/msys/py2exe.patch

    r920 r936  
    722722                SystemError(GetLastError(), "Could not lock script resource:");
    723723                return FALSE;
     724diff --git a/setup.py b/setup.py
     725index 342d194..1fe1e43 100644
     726--- a/setup.py
     727+++ b/setup.py
     728@@ -107,7 +107,7 @@ run_w = Interpreter("py2exe.run_w",
     729                     libraries=["user32", "shell32"],
     730                     define_macros=macros,
     731                     extra_compile_args=extra_compile_args,
     732-                    extra_link_args=extra_link_args,
     733+                    extra_link_args=extra_link_args + (["-Wl,--subsystem,windows"] if isMingw32 else []),
     734                     )
     735 
     736 # The py2exe.resources name is special handled in BuildInterpreters;
Note: See TracChangeset for help on using the changeset viewer.