From 3b6d2a0a7b918787cf5655af83ef288ccac4470e 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 cf8e265921..d1c5a85873 100644 --- a/xpcom/glue/standalone/nsXPCOMGlue.cpp +++ b/xpcom/glue/standalone/nsXPCOMGlue.cpp @@ -132,6 +132,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); -- 2.30.2