Recognize the FreeBSD dlopen equivalent of "cannot open".
This commit is contained in:
parent
11a5e849b4
commit
85a663f3ae
|
@ -41,7 +41,8 @@ void *BUILTIN32_dlopen( const char *name )
|
||||||
|
|
||||||
if (!(handle = wine_dll_load( name, error, sizeof(error) )))
|
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() */
|
/* The file does not exist -> WARN() */
|
||||||
WARN("cannot open .so lib for builtin %s: %s\n", name, error);
|
WARN("cannot open .so lib for builtin %s: %s\n", name, error);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue