Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb07b536 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

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
parent 261ff50e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
# 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