summaryrefslogtreecommitdiffstats
path: root/libdl
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-12-20 14:42:14 -0800
committerElliott Hughes <enh@google.com>2012-12-20 14:42:14 -0800
commitcade4c36e7c9c62db3f476a0f9cfc329bac9acb7 (patch)
treeba27e7e4734b952421de2d7060a7a53e295a60d3 /libdl
parent4b58214205d3d29dbdfed49964010235ef3f0403 (diff)
downloadbionic-cade4c36e7c9c62db3f476a0f9cfc329bac9acb7.zip
bionic-cade4c36e7c9c62db3f476a0f9cfc329bac9acb7.tar.gz
bionic-cade4c36e7c9c62db3f476a0f9cfc329bac9acb7.tar.bz2
Support System.loadLibrary for libraries with transitive dependencies.
Also fix the FLAG_ERROR annoyance --- it's not helpful to cache failures. Bug: 7896159 Bug: http://code.google.com/p/android/issues/detail?id=34416 Bug: http://code.google.com/p/android/issues/detail?id=22143 Change-Id: I60f235edb4ea4756e1f7ce56f7739f18e8a50789
Diffstat (limited to 'libdl')
-rw-r--r--libdl/libdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdl/libdl.c b/libdl/libdl.c
index e8b01be..378f521 100644
--- a/libdl/libdl.c
+++ b/libdl/libdl.c
@@ -24,6 +24,8 @@ void *dlsym(void *handle, const char *symbol) { return 0; }
int dladdr(const void *addr, Dl_info *info) { return 0; }
int dlclose(void *handle) { return 0; }
+void android_update_LD_LIBRARY_PATH(const char* ld_library_path) { }
+
#if defined(__arm__)
void *dl_unwind_find_exidx(void *pc, int *pcount) { return 0; }