Alexandre Julliard : wineandroid: Also set WINEDLLPATH.
Alexandre Julliard
julliard at winehq.org
Mon Jul 31 15:06:29 CDT 2017
Module: wine
Branch: master
Commit: d1abe867713ae79073029c2418f4f52742e6261d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d1abe867713ae79073029c2418f4f52742e6261d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jul 31 19:48:24 2017 +0200
wineandroid: Also set WINEDLLPATH.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wineandroid.drv/WineActivity.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/wineandroid.drv/WineActivity.java b/dlls/wineandroid.drv/WineActivity.java
index 800d8d4..3345e18 100644
--- a/dlls/wineandroid.drv/WineActivity.java
+++ b/dlls/wineandroid.drv/WineActivity.java
@@ -78,6 +78,7 @@ public class WineActivity extends Activity
{
File bindir = new File( getFilesDir(), Build.CPU_ABI + "/bin" );
File libdir = new File( getFilesDir(), Build.CPU_ABI + "/lib" );
+ File dlldir = new File( libdir, "wine" );
File prefix = new File( getFilesDir(), "prefix" );
File loader = new File( bindir, "wine" );
String locale = Locale.getDefault().getLanguage() + "_" +
@@ -88,6 +89,7 @@ public class WineActivity extends Activity
HashMap<String,String> env = new HashMap<String,String>();
env.put( "WINELOADER", loader.toString() );
env.put( "WINEPREFIX", prefix.toString() );
+ env.put( "WINEDLLPATH", dlldir.toString() );
env.put( "LD_LIBRARY_PATH", libdir.toString() + ":" + getApplicationInfo().nativeLibraryDir );
env.put( "LC_ALL", locale );
env.put( "LANG", locale );
More information about the wine-cvs
mailing list