We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dd5e37 commit 7c95ec3Copy full SHA for 7c95ec3
1 file changed
iris_embedded_python/iris_utils.py
@@ -3,12 +3,11 @@
3
4
5
def update_dynalib_path(dynalib_path):
6
- # set flags to allow dynamic loading of shared libraries
7
- sys.setdlopenflags(sys.getdlopenflags() | os.RTLD_GLOBAL)
8
-
9
# Determine the environment variable based on the operating system
10
env_var = 'PATH'
11
if not sys.platform.startswith('win'):
+ # set flags to allow dynamic loading of shared libraries
+ sys.setdlopenflags(sys.getdlopenflags() | os.RTLD_GLOBAL)
12
if sys.platform == 'darwin':
13
env_var = 'DYLD_LIBRARY_PATH'
14
else:
0 commit comments