From bb07b536f528d5a55bde2571babe5d0f7878a86e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 13 Jan 2014 16:49:54 -0800 Subject: [PATCH] Don't set LD_LIBRARY_PATH globally. On a 64-bit system, 64-bit processes will want one path, 32-bit processes another. The dynamic linker already provides the correct defaults for native code, and we've coupled the VM and dynamic linker so that LD_LIBRARY_PATH will be set correctly in any VM during startup if it's not being manually overridden. Change-Id: Icbffc0d451dbc242cdfb9267413d8bcac434e108 --- rootdir/init.environ.rc.in | 1 - 1 file changed, 1 deletion(-) diff --git a/rootdir/init.environ.rc.in b/rootdir/init.environ.rc.in index d2f74c081..927c33d25 100644 --- a/rootdir/init.environ.rc.in +++ b/rootdir/init.environ.rc.in @@ -1,7 +1,6 @@ # set up the global environment on init export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin - export LD_LIBRARY_PATH /vendor/lib:/system/lib export ANDROID_BOOTLOGO 1 export ANDROID_ROOT /system export ANDROID_ASSETS /system/app