From 32d2f6ecae409626b99a947b19817870b3dabc91 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 28 Jun 2019 10:50:32 +1000 Subject: [PATCH] wrapper: add some wine environment variables --- wrapper.py.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wrapper.py.in b/wrapper.py.in index c1aecf0..cd95d58 100755 --- a/wrapper.py.in +++ b/wrapper.py.in @@ -110,9 +110,10 @@ def break_path_for_msys2(path): # target directory for Windows and for every single other system we're likely # to ever deal with... if is_really_windows(): - separator = ':' - depsdir = ['bin'] - searchvar = 'PATH' + separator = ';' + depsdir = ['bin', 'lib'] + searchvar = 'WINEPATH' + env['WINEDEBUG'] = '-all' else: separator = ':' depsdir = ['lib', 'lib64']