summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-08-12 21:18:16 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-08-12 21:18:16 (GMT)
commitf57011b7af0bb8f06bca8d10c43975b923f5f5c3 (patch)
tree76ee6a2bd273693bbb79c5e5d23cd317e8eeaf15 /src
parent9952cd37fa720bb9fb27df607ad3aaf46eea0a3a (diff)
downloadhdf5-f57011b7af0bb8f06bca8d10c43975b923f5f5c3.zip
hdf5-f57011b7af0bb8f06bca8d10c43975b923f5f5c3.tar.gz
hdf5-f57011b7af0bb8f06bca8d10c43975b923f5f5c3.tar.bz2
HDFFV-11127 - force RTLD_LOCAL in dlopen
Diffstat (limited to 'src')
-rw-r--r--src/H5PLpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5PLpkg.h b/src/H5PLpkg.h
index 8c2367f..a086a2c 100644
--- a/src/H5PLpkg.h
+++ b/src/H5PLpkg.h
@@ -95,7 +95,7 @@
# define H5PL_HANDLE void *
/* Get a handle to a plugin library. Windows: TEXT macro handles Unicode strings */
-# define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY)
+# define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY | RTLD_LOCAL)
/* Get the address of a symbol in dynamic library */
# define H5PL_GET_LIB_FUNC(H,N) dlsym(H,N)