Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mono/utils/mono-dl-wasm.c')
-rw-r--r--mono/utils/mono-dl-wasm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mono/utils/mono-dl-wasm.c b/mono/utils/mono-dl-wasm.c
index 333d54db799..3a904f04bca 100644
--- a/mono/utils/mono-dl-wasm.c
+++ b/mono/utils/mono-dl-wasm.c
@@ -62,15 +62,7 @@ mono_dl_convert_flags (int mono_flags, int native_flags)
{
int lflags = native_flags;
-#ifdef ENABLE_NETCORE
- // Specifying both will default to LOCAL
- if (mono_flags & MONO_DL_GLOBAL && !(mono_flags & MONO_DL_LOCAL))
- lflags |= RTLD_GLOBAL;
- else
- lflags |= RTLD_LOCAL;
-#else
lflags = mono_flags & MONO_DL_LOCAL ? RTLD_LOCAL : RTLD_GLOBAL;
-#endif
if (mono_flags & MONO_DL_LAZY)
lflags |= RTLD_LAZY;