diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-09 13:17:37 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-09 13:17:37 +0200 |
commit | 5281cc9f8dbb3a326a287c7b52d9317f385a4058 (patch) | |
tree | a08df552815a830eb3db4bf4b20c64c95cb698b4 /src/de/blinkt/openvpn/OpenVPNThread.java | |
parent | a601f2382b30a0aeda83944543f7ceb9d88ee5eb (diff) |
Add the minivpn to repository to avoid copying it around.
The jniclose method works. But there should be a java way to do it ... (closes issue #12)
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVPNThread.java')
-rw-r--r-- | src/de/blinkt/openvpn/OpenVPNThread.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/OpenVPNThread.java b/src/de/blinkt/openvpn/OpenVPNThread.java index a8cb8430..d4d4cd64 100644 --- a/src/de/blinkt/openvpn/OpenVPNThread.java +++ b/src/de/blinkt/openvpn/OpenVPNThread.java @@ -76,6 +76,8 @@ public class OpenVPNThread implements Runnable { argvlist.add(arg);
ProcessBuilder pb = new ProcessBuilder(argvlist);
+ // Hack O rama
+ pb.environment().put("LD_LIBRARY_PATH", "/data/data/de.blinkt.openvpn/lib");
pb.redirectErrorStream(true);
try {
mProcess = pb.start();
|