commit | 640bd0bf3ae76013a52a34e51cd301affe528334 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Apr 23 14:47:05 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Apr 23 14:47:05 2019 +0000 |
tree | c45bc9bc2d5ba46bd4f5c7b17e2cf1ec191a9e46 | |
parent | 7f3527fb5c265d2195220994a53b53d99f428344 [diff] | |
parent | 915c5fb9f670cb2b1e646fade1f7ee87ef595eb7 [diff] |
Merge "libdl.a: make dlerror() always report an error."
diff --git a/libdl/libdl_static.cpp b/libdl/libdl_static.cpp index 7146762..0a36e6f 100644 --- a/libdl/libdl_static.cpp +++ b/libdl/libdl_static.cpp
@@ -23,7 +23,7 @@ } char* dlerror() { - return nullptr; + return const_cast<char*>("libdl.a is a stub --- use libdl.so instead"); } void* dlsym(void* /*handle*/, const char* /*symbol*/) {