We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ea352 commit 3eb1f33Copy full SHA for 3eb1f33
1 file changed
clr_loader/ffi/__init__.py
@@ -1,4 +1,5 @@
1
import sys
2
+from ctypes import RTLD_GLOBAL
3
from pathlib import Path
4
5
import cffi
@@ -43,10 +44,10 @@ def load_hostfxr(dotnet_root: Path):
43
44
def load_mono(path: Path | None = None):
45
# Preload C++ standard library, Mono needs that and doesn't properly link against it
46
if sys.platform == "linux":
- ffi.dlopen("stdc++", ffi.RTLD_GLOBAL)
47
+ ffi.dlopen("stdc++", RTLD_GLOBAL)
48
49
path_str = str(path) if path else None
- return ffi.dlopen(path_str, ffi.RTLD_GLOBAL)
50
+ return ffi.dlopen(path_str, RTLD_GLOBAL)
51
52
53
def load_netfx():
0 commit comments