- if (img && strcmp (img->name, assembly->image->name)) {
+ if (img && g_strcasecmp (img->name, assembly->image->name)) {
fprintf (stderr, "Error: Loaded assembly '%s' doesn't match original file name '%s'. Set MONO_PATH to the assembly's location.\n", assembly->image->name, img->name);