classes/system/dynamicloader.cpp
/* Try loading a versioned library.
		 */
Try loading a versioned library.
Try loading a versioned library .
foreach (const String &path, directories)
		{
			Directory		 directory(path);
			const Array<File>	&files = directory.GetFilesByPattern(String(module.StartsWith("lib") || module.Contains("/") ? String() : "lib").Append(module).Append(module.EndsWith(dllExt) || module.Contains(String(dllExt).Append(".")) ? String() : versionPattern));
			if (files.Length() > 0)
			{
				handle = dlopen((String) files.GetFirst(), dlopenFlags);
			}
			if (handle != NIL) return;
		}
foreach ( const String & path , directories ) { Directory directory ( path ) ; const Array < File > & files = directory . GetFilesByPattern ( String ( module . StartsWith ( " " ) || module . Contains ( " " ) ? String ( ) : " " ) . Append ( module ) . Append ( module . EndsWith ( dllExt ) || module . Contains ( String ( dllExt ) . Append ( " " ) ) ? String ( ) : versionPattern ) ) ; if ( files . Length ( ) > 0 ) { handle = dlopen ( ( String ) files . GetFirst ( ) , dlopenFlags ) ; } if ( handle != NIL ) return ; }
Try loading a versioned library.
Try loading a versioned library .