Skip to content
Snippets Groups Projects
Commit 16854d41 authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

fix wine setup

parent c21ad16c
No related branches found
No related tags found
1 merge request!22Fix the cross-compilation to windows on Ubuntu/Debian
......@@ -23,13 +23,13 @@ IMAGETTE_HEADER_SIZE = GENERIC_HEADER_SIZE+4
IMAGETTE_ADAPTIVE_HEADER_SIZE = GENERIC_HEADER_SIZE+12
NON_IMAGETTE_HEADER_SIZE = GENERIC_HEADER_SIZE+32
WINE_TEST_SETUP = False
my_env=None
if sys.platform != 'win32' and sys.platform != 'cygwin':
if Path('cmp_tool.exe').exists():
# try to detect cross compile setup
# and use wine to run windows executable
WINE_TEST_SETUP = True
else:
WINE_TEST_SETUP = False
# disable wine debug output
my_env = os.environ.copy()
my_env["WINEDEBUG"] = f"-all"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment