mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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
Block a user