From 26f533289d23bfd0a3e7ba1bd90cc757dfdc8e35 Mon Sep 17 00:00:00 2001 From: Christoph Goehre Date: Mon, 16 Sep 2013 20:40:57 +0200 Subject: [PATCH] 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 --- xpcom/glue/standalone/nsXPCOMGlue.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2