forked from enlightenment/efl
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:
parent
538fbbd1bc
commit
f0fc27f8de
|
@ -58,7 +58,11 @@ ecore_plugin_load(Ecore_Path_Group *group, const char *plugin_name, const char *
|
||||||
if (!version || *version == '\0')
|
if (!version || *version == '\0')
|
||||||
snprintf(temp, sizeof(temp), "%s" SHARED_LIB_SUFFIX, plugin_name);
|
snprintf(temp, sizeof(temp), "%s" SHARED_LIB_SUFFIX, plugin_name);
|
||||||
else
|
else
|
||||||
|
#ifndef _WIN32
|
||||||
snprintf(temp, sizeof(temp), "%s" SHARED_LIB_SUFFIX ".%s", plugin_name, version);
|
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);
|
path = ecore_path_group_find(group, temp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue