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