projects
/
thunderbird.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c39fd
)
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>
Thu, 3 Dec 2020 04:35:04 +0000
(
04:35
+0000)
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 cf8e2659215e7337cbb85060bb916ae5607dd09f..d1c5a85873d964a35901a76c97dc89b4640c0412 100644
(file)
--- 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);