summaryrefslogtreecommitdiff
path: root/src/android-emacs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/android-emacs.c')
-rw-r--r--src/android-emacs.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/android-emacs.c b/src/android-emacs.c
index d68734da1bd..28b46ca1a4b 100644
--- a/src/android-emacs.c
+++ b/src/android-emacs.c
@@ -37,7 +37,7 @@ main (int argc, char **argv)
{
char **args;
int i;
- char *bootclasspath, *emacs_class_path, *ld_library_path;
+ char *bootclasspath, *emacs_class_path;
/* Allocate enough to hold the arguments to app_process. */
args = alloca ((10 + argc) * sizeof *args);
@@ -63,15 +63,6 @@ main (int argc, char **argv)
return 1;
}
- /* Restore LD_LIBRARY_PATH to its original value, the app library
- directory, to guarantee that it is possible for Java to find the
- Emacs C code later. */
-
- ld_library_path = getenv ("EMACS_LD_LIBRARY_PATH");
-
- if (ld_library_path)
- setenv ("LD_LIBRARY_PATH", ld_library_path, 1);
-
if (asprintf (&bootclasspath, "-Djava.class.path=%s",
emacs_class_path) < 0)
{