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%68.6.0-1_deb10u1+rpi1^2^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cabcfaca1d792d8b954118ecc2ad7010fcdde293;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 ffb3d9c7fd..77ead8d377 100644 --- a/xpcom/glue/standalone/nsXPCOMGlue.cpp +++ b/xpcom/glue/standalone/nsXPCOMGlue.cpp @@ -133,6 +133,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);