projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64dd9c
)
Support for systems where RTLD_LAZY_GLOBAL is defined instead of
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 9 May 2000 22:23:55 +0000
(22:23 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 9 May 2000 22:23:55 +0000
(22:23 +0000)
RTLD_GLOBAL and RTLD_LAZY separately.
lib/ldap.c
patch
|
blob
|
history
diff --git
a/lib/ldap.c
b/lib/ldap.c
index
7f0e025
..
dde1587
100644
(file)
--- a/
lib/ldap.c
+++ b/
lib/ldap.c
@@
-89,7
+89,13
@@
static void DynaOpen(void)
* liblber.so automatically, but since it does not we will
* handle it here by opening liblber.so as global.
*/
- dlopen("liblber.so", RTLD_LAZY | RTLD_GLOBAL);
+ dlopen("liblber.so",
+#ifdef RTLD_LAZY_GLOBAL /* It turns out some systems use this: */
+ RTLD_LAZY_GLOBAL
+#else
+ RTLD_LAZY | RTLD_GLOBAL
+#endif
+ );
libldap = dlopen("libldap.so", RTLD_LAZY);
}
#endif