ensure e modules end in .so before trying to open them

SVN revision: 77242
This commit is contained in:
Mike Blumenkrantz 2012-10-01 07:30:06 +00:00
parent b4d2b87079
commit 2c53d5b46f
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ e_module_new(const char *name)
snprintf(buf, sizeof(buf), "%s/%s/module.so", name, MODULE_ARCH);
modpath = e_path_find(path_modules, buf);
}
else
else if (eina_str_has_extension(name, ".so"))
modpath = eina_stringshare_add(name);
if (!modpath)
{