Landing issue 15189004

TBR=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6951 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/base/latebindingsymboltable.cc b/base/latebindingsymboltable.cc
index 1896bd0..030f720 100644
--- a/base/latebindingsymboltable.cc
+++ b/base/latebindingsymboltable.cc
@@ -100,7 +100,7 @@
                    // 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