forked from old/legacy-imlib2
parent
8d3851841b
commit
5bb40fcccc
|
@ -663,7 +663,11 @@ __imlib_TrimLoaderList(char **list, int *num)
|
||||||
if (!list[i])
|
if (!list[i])
|
||||||
continue;
|
continue;
|
||||||
ext = strrchr(list[i], '.');
|
ext = strrchr(list[i], '.');
|
||||||
if ((ext) && (!strcasecmp(ext, ".so")))
|
if ((ext) && (
|
||||||
|
#ifdef __CYGWIN__
|
||||||
|
(!strcasecmp(ext, ".dll")) ||
|
||||||
|
#endif
|
||||||
|
(!strcasecmp(ext, ".so"))))
|
||||||
{
|
{
|
||||||
/* Don't add the same loader multiple times... */
|
/* Don't add the same loader multiple times... */
|
||||||
if (!__imlib_ItemInList(ret, size, list[i]))
|
if (!__imlib_ItemInList(ret, size, list[i]))
|
||||||
|
|
Loading…
Reference in New Issue