the versioning of shared lib is different on windows than on linux

(name-version.dll wrt name.so.version)


SVN revision: 38654
This commit is contained in:
Vincent Torri 2009-01-19 21:08:39 +00:00
parent 538fbbd1bc
commit f0fc27f8de
1 changed files with 4 additions and 0 deletions

View File

@ -58,7 +58,11 @@ ecore_plugin_load(Ecore_Path_Group *group, const char *plugin_name, const char *
if (!version || *version == '\0')
snprintf(temp, sizeof(temp), "%s" SHARED_LIB_SUFFIX, plugin_name);
else
#ifndef _WIN32
snprintf(temp, sizeof(temp), "%s" SHARED_LIB_SUFFIX ".%s", plugin_name, version);
#else
snprintf(temp, sizeof(temp), "%s-%s" SHARED_LIB_SUFFIX, plugin_name, version);
#endif
path = ecore_path_group_find(group, temp);