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.10.0-1_deb11u1+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=93abc01fbc8bc9395590c2370b38e80da5253904;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));