summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxxabi/src/stdexcept.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/stdexcept.cpp b/libcxxabi/src/stdexcept.cpp
index 7071915addb..4f175a27ef3 100644
--- a/libcxxabi/src/stdexcept.cpp
+++ b/libcxxabi/src/stdexcept.cpp
@@ -44,7 +44,7 @@ private:
const void*
compute_gcc_empty_string_storage() _LIBCPP_CANTTHROW
{
- void* handle = dlopen("libstdc++.dylib", RTLD_LAZY);
+ void* handle = dlopen("/usr/lib/libstdc++.6.dylib", RTLD_NOLOAD);
if (handle == 0)
return 0;
return (const char*)dlsym(handle, "_ZNSs4_Rep20_S_empty_rep_storageE") + offset;
OpenPOWER on IntegriCloud