Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d1abe867
Commit
d1abe867
authored
Jul 31, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineandroid: Also set WINEDLLPATH.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
56fbca4f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
WineActivity.java
dlls/wineandroid.drv/WineActivity.java
+2
-0
No files found.
dlls/wineandroid.drv/WineActivity.java
View file @
d1abe867
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment