mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
Change dlopen from RTLD_NOW to RTLD_LAZY
This commit is contained in:
parent
00925c7ecf
commit
ae59766fc9
@ -84,7 +84,7 @@ typedef const void *(__cdecl *H5PL_get_plugin_info_t)(void);
|
||||
#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_NOW)
|
||||
#define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY)
|
||||
|
||||
/* Get the address of a symbol in dynamic library */
|
||||
#define H5PL_GET_LIB_FUNC(H,N) dlsym(H,N)
|
||||
|
Loading…
Reference in New Issue
Block a user