1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

Use RTLD_GLOBAL flag for dlopen-style dynamic loaders.

This commit is contained in:
Peter Eisentraut
2001-05-14 21:45:53 +00:00
parent 83966889ed
commit c87bc779d4
18 changed files with 44 additions and 49 deletions

View File

@@ -26,7 +26,7 @@
* library as the file to be dynamically loaded.
*
*/
#define pg_dlopen(f) dlopen(f,RTLD_LAZY)
#define pg_dlopen(f) dlopen((f), RTLD_LAZY | RTLD_GLOBAL)
#define pg_dlsym dlsym
#define pg_dlclose dlclose
#define pg_dlerror dlerror