aboutsummaryrefslogtreecommitdiffstats
path: root/src/android.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/android.c')
-rw-r--r--src/android.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/android.c b/src/android.c
index f90ebc04925..3c96867a6b5 100644
--- a/src/android.c
+++ b/src/android.c
@@ -1338,7 +1338,7 @@ NATIVE_NAME (setEmacsParams) (JNIEnv *env, jobject object,
1338 1338
1339 int pipefd[2]; 1339 int pipefd[2];
1340 pthread_t thread; 1340 pthread_t thread;
1341 const char *java_string; 1341 const char *java_string, *tem;
1342 struct stat statb; 1342 struct stat statb;
1343 1343
1344#ifdef THREADS_ENABLED 1344#ifdef THREADS_ENABLED
@@ -1491,15 +1491,6 @@ NATIVE_NAME (setEmacsParams) (JNIEnv *env, jobject object,
1491 EmacsNoninteractive can be found. */ 1491 EmacsNoninteractive can be found. */
1492 setenv ("EMACS_CLASS_PATH", android_class_path, 1); 1492 setenv ("EMACS_CLASS_PATH", android_class_path, 1);
1493 1493
1494 /* Set LD_LIBRARY_PATH to an appropriate value. */
1495 setenv ("LD_LIBRARY_PATH", android_lib_dir, 1);
1496
1497 /* EMACS_LD_LIBRARY_PATH records the location of the app library
1498 directory. android-emacs refers to this, since users have valid
1499 reasons for changing LD_LIBRARY_PATH to a value that precludes
1500 the possibility of Java locating libemacs later. */
1501 setenv ("EMACS_LD_LIBRARY_PATH", android_lib_dir, 1);
1502
1503 /* If the system is Android 5.0 or later, set LANG to en_US.utf8, 1494 /* If the system is Android 5.0 or later, set LANG to en_US.utf8,
1504 which is understood by the C library. In other instances set it 1495 which is understood by the C library. In other instances set it
1505 to C, a meaningless value, for good measure. */ 1496 to C, a meaningless value, for good measure. */