Merge "linker: Allow an app to update it's own LD_LIBRARY_PATH"

This commit is contained in:
Nick Kralevich 2015-03-07 23:31:31 +00:00 committed by Gerrit Code Review
commit edc1d3e3c6

View file

@ -1241,10 +1241,8 @@ void do_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size) {
}
void do_android_update_LD_LIBRARY_PATH(const char* ld_library_path) {
if (!get_AT_SECURE()) {
parse_LD_LIBRARY_PATH(ld_library_path);
}
}
soinfo* do_dlopen(const char* name, int flags, const android_dlextinfo* extinfo) {
if ((flags & ~(RTLD_NOW|RTLD_LAZY|RTLD_LOCAL|RTLD_GLOBAL|RTLD_NODELETE|RTLD_NOLOAD)) != 0) {