From 85a663f3ae021da8db4d666ae4da46c0a23a2f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gouget?= Date: Fri, 9 Nov 2001 19:17:35 +0000 Subject: [PATCH] Recognize the FreeBSD dlopen equivalent of "cannot open". --- relay32/builtin32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/relay32/builtin32.c b/relay32/builtin32.c index ad40c414012..531f74f0157 100644 --- a/relay32/builtin32.c +++ b/relay32/builtin32.c @@ -41,7 +41,8 @@ void *BUILTIN32_dlopen( const char *name ) if (!(handle = wine_dll_load( name, error, sizeof(error) ))) { - if (strstr(error, "cannot open") || strstr(error, "open failed")) { + if (strstr(error, "cannot open") || strstr(error, "open failed") || + (strstr(error, "Shared object") && strstr(error, "not found"))) { /* The file does not exist -> WARN() */ WARN("cannot open .so lib for builtin %s: %s\n", name, error); } else {