summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Ringwald <mringwal@inf.ethz.ch>2008-07-09 22:49:22 +0200
committerMatthias Ringwald <mringwal@inf.ethz.ch>2008-07-09 22:49:22 +0200
commit20697e3c7d3c2516a8a8d4a9232c70be79815301 (patch)
tree6ce175dd0276cb9f8a2e14f4ab6abef01946382f
parent42f53bf3d5d3ec823e4db53fde5f0efd1bbc3451 (diff)
downloadxine-lib-20697e3c7d3c2516a8a8d4a9232c70be79815301.tar.gz
xine-lib-20697e3c7d3c2516a8a8d4a9232c70be79815301.tar.bz2
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
-rw-r--r--src/xine-engine/load_plugins.c2
1 files changed, 1 insertions, 1 deletions
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