wineandroid: Support running binaries from the application directory.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-07-03 20:58:01 +02:00
parent bc70768c98
commit 9027b927a4
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ private void loadWine( String cmdline )
env.put( "LD_LIBRARY_PATH", libdir.toString() + ":" + getApplicationInfo().nativeLibraryDir );
env.put( "LC_ALL", locale );
env.put( "LANG", locale );
env.put( "PATH", bindir.toString() + ":" + System.getenv( "PATH" ));
if (cmdline == null)
{