projects
/
thunderbird.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a428cd
)
Load-dependent-libraries-with-their-real-path-to-avo
author
Christoph Goehre
<chris@sigxcpu.org>
Mon, 16 Sep 2013 18:40:57 +0000
(20:40 +0200)
committer
Carsten Schoenert
<c.schoenert@t-online.de>
Tue, 9 Jul 2019 20:09:04 +0000
(21:09 +0100)
Gbp-Pq: Topic fixes
Gbp-Pq: Name Load-dependent-libraries-with-their-real-path-to-avo.patch
xpcom/glue/standalone/nsXPCOMGlue.cpp
patch
|
blob
|
history
diff --git
a/xpcom/glue/standalone/nsXPCOMGlue.cpp
b/xpcom/glue/standalone/nsXPCOMGlue.cpp
index 60bc8ec28b8fe1b0aacc7228c13e51cde05225ae..069331165c78b81a3f8eb4f61f8d6e4d5606bf63 100644
(file)
--- 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);