From: Christoph Goehre Date: Mon, 16 Sep 2013 18:40:57 +0000 (+0200) Subject: Load-dependent-libraries-with-their-real-path-to-avo X-Git-Tag: archive/raspbian/1%78.8.0-1+rpi1^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=429ad2ba4e38cee34d0bcb3f6e55fac945071d05;p=thunderbird.git Load-dependent-libraries-with-their-real-path-to-avo Gbp-Pq: Topic fixes Gbp-Pq: Name Load-dependent-libraries-with-their-real-path-to-avo.patch --- diff --git a/xpcom/glue/standalone/nsXPCOMGlue.cpp b/xpcom/glue/standalone/nsXPCOMGlue.cpp index cf8e265921..d1c5a85873 100644 --- a/xpcom/glue/standalone/nsXPCOMGlue.cpp +++ b/xpcom/glue/standalone/nsXPCOMGlue.cpp @@ -132,6 +132,9 @@ static bool ReadDependentCB(pathstr_t aDependentLib, ReadAheadLib(aDependentLib); } #endif + char lib[MAXPATHLEN]; + if (realpath(aDependentLib, lib)) + aDependentLib = lib; LibHandleType libHandle = GetLibHandle(aDependentLib); if (libHandle) { AppendDependentLib(libHandle);