projects
/
thunderbird.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da2e40e
)
Load dependent libraries with their real path
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>
Sat, 5 Aug 2023 07:42:03 +0000
(08:42 +0100)
Gbp-Pq: Topic fixes
Gbp-Pq: Name Load-dependent-libraries-with-their-real-path.patch
xpcom/glue/standalone/nsXPCOMGlue.cpp
patch
|
blob
|
history
diff --git
a/xpcom/glue/standalone/nsXPCOMGlue.cpp
b/xpcom/glue/standalone/nsXPCOMGlue.cpp
index 2ed70cfa05d99541c69a16ac686b33cf3db6226b..d6abc2fd006cdcf14b69f73de13cf58e299e7802 100644
(file)
--- a/
xpcom/glue/standalone/nsXPCOMGlue.cpp
+++ b/
xpcom/glue/standalone/nsXPCOMGlue.cpp
@@
-144,6
+144,9
@@
static ReadDependentCBResult ReadDependentCB(
ReadAheadLib(aDependentLib);
}
#endif
+ char lib[MAXPATHLEN];
+ if (realpath(aDependentLib, lib))
+ aDependentLib = lib;
LibHandleType libHandle;
MOZ_TRY_VAR(libHandle, GetLibHandle(aDependentLib));