summaryrefslogtreecommitdiff
path: root/libdl/libdl_static.cpp
diff options
context:
space:
mode:
authorSteven Laver <lavers@google.com>2019-08-07 15:49:43 -0700
committerSteven Laver <lavers@google.com>2019-08-07 15:49:43 -0700
commitbfda022dd6fbbcea60e9f52496d90ece514b32da (patch)
tree97c69d2bdd0e0ff59d55a0d2a8596ed678cded3e /libdl/libdl_static.cpp
parent70ebd716b3e81d304cda14d2bd77996cc2840962 (diff)
parent848e1d8a30a3465040edc27085927309fe6cbcff (diff)
Merge RP1A.190528.001
Change-Id: If6e905407e26a19e0266185af46b4ff461c4d45e
Diffstat (limited to 'libdl/libdl_static.cpp')
-rw-r--r--libdl/libdl_static.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdl/libdl_static.cpp b/libdl/libdl_static.cpp
index 714676258..0a36e6f16 100644
--- a/libdl/libdl_static.cpp
+++ b/libdl/libdl_static.cpp
@@ -23,7 +23,7 @@ void* dlopen(const char* /*filename*/, int /*flag*/) {
}
char* dlerror() {
- return nullptr;
+ return const_cast<char*>("libdl.a is a stub --- use libdl.so instead");
}
void* dlsym(void* /*handle*/, const char* /*symbol*/) {