From 20697e3c7d3c2516a8a8d4a9232c70be79815301 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 9 Jul 2008 22:49:22 +0200 Subject: Don't try to load static libraries on mingw32 dlopen of a static library causes a Windows error dialog otherwise. just ignore *.dll.a in plugins folder --- src/xine-engine/load_plugins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index a71092761..3d1c0e4a8 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -592,7 +592,7 @@ static void collect_plugins(xine_t *this, char *path){ #if defined(__hpux) if(!strstr(str, ".sl") #elif defined(__CYGWIN__) || defined(WIN32) - if(!strstr(str, ".dll") + if(!strstr(str, ".dll") || strstr(str, ".dll.a") #else if(!strstr(str, ".so") #endif -- cgit v1.2.3