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%60.6.1-1+rpi1~1^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=26f533289d23bfd0a3e7ba1bd90cc757dfdc8e35;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 60bc8ec28b..069331165c 100644 --- a/xpcom/glue/standalone/nsXPCOMGlue.cpp +++ b/xpcom/glue/standalone/nsXPCOMGlue.cpp @@ -127,6 +127,9 @@ static bool ReadDependentCB(pathstr_t aDependentLib) { // We do this unconditionally because of data in bug 771745 ReadAheadLib(aDependentLib); #endif + char lib[MAXPATHLEN]; + if (realpath(aDependentLib, lib)) + aDependentLib = lib; LibHandleType libHandle = GetLibHandle(aDependentLib); if (libHandle) { AppendDependentLib(libHandle);