diff options
| -rw-r--r-- | vfs/UVFSCore.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas index ae752c8..475730c 100644 --- a/vfs/UVFSCore.pas +++ b/vfs/UVFSCore.pas @@ -1119,7 +1119,7 @@ begin end; if b then DebugMsg(['Module ', s, ' is already loaded --> skipping...']) else begin - ModuleHandler := dlopen(PChar(IncludeTrailingPathDelimiter(s) + Buf), RTLD_LAZY); + ModuleHandler := dlopen(PChar(IncludeTrailingPathDelimiter(s) + Buf), RTLD_NOW); if ModuleHandler = nil then DebugMsg([' XXX Error loading module: ', dlerror]) else try @VFSVersionFunc := dlsym(ModuleHandler, 'VFSVersion'); |
