Landing issue 15189004

TBR=henrike@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/14189004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6951 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
niklas.enbom@webrtc.org 2014-08-21 14:49:28 +00:00
parent 7bd5fefb17
commit 153c6162d2

View File

@ -100,7 +100,7 @@ bool LateBindingSymbolTable::LoadFromPath(const char *dll_path) {
// is necessary for same-named symbols in different ABI
// versions of the same library to not explode.
RTLD_NOW|RTLD_LOCAL
#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID)
#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) && defined(RTLD_DEEPBIND)
// RTLD_DEEPBIND makes symbol dependencies in the
// newly-loaded tree prefer to resolve to definitions within
// that tree (the default on OS X). This is necessary for