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%115.12.0-1+rpi1~1^2^2^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9ff8e29dd3631f28ad8b1589ec405ac63d39503e;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 09edef10ee..69304177ad 100644 --- a/xpcom/glue/standalone/nsXPCOMGlue.cpp +++ b/xpcom/glue/standalone/nsXPCOMGlue.cpp @@ -140,6 +140,9 @@ static ReadDependentCBResult ReadDependentCB( ReadAheadLib(aDependentLib); } #endif + char lib[MAXPATHLEN]; + if (realpath(aDependentLib, lib)) + aDependentLib = lib; LibHandleType libHandle; MOZ_TRY_VAR(libHandle, GetLibHandle(aDependentLib));