Skip to content

Commit 26fdd20

Browse files
committed
dl: load as RTLD_LOCAL
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 8fa64a9 commit 26fdd20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamic_library/_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
warnings.warn('Libraries registered via dynamic_library entrypoints will not be loaded!', RuntimeWarning)
1616
else:
1717
for lib in dynamic_library.get_libraries():
18-
ctypes.CDLL(lib, ctypes.RTLD_GLOBAL)
18+
ctypes.CDLL(lib, ctypes.RTLD_LOCAL)

0 commit comments

Comments
 (0)