Commit 2510df00 authored by Alexandre Julliard's avatar Alexandre Julliard

mshtml: Try installing Gecko from the global data dir too.

parent a9b4f82c
MODULE = mshtml.dll
IMPORTLIB = mshtml
IMPORTS = strmiids uuid urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32
EXTRADEFS = -DCOM_NO_WINDOWS_H
EXTRADEFS = -DCOM_NO_WINDOWS_H -DGECKO_DATADIR="\"$(datadir)\""
DELAYIMPORTS = wininet
C_SRCS = \
......
......@@ -258,10 +258,12 @@ static BOOL install_from_default_dir(void)
ret = install_from_unix_file(file_name);
heap_free(file_name);
if(ret)
return TRUE;
return install_from_unix_file("/usr/share/wine/gecko/" GECKO_FILE_NAME);
if (!ret)
ret = install_from_unix_file( GECKO_DATADIR "/wine/gecko/" GECKO_FILE_NAME);
if (!ret && strcmp( GECKO_DATADIR, "/usr/share" ))
ret = install_from_unix_file("/usr/share/wine/gecko/" GECKO_FILE_NAME);
return ret;
}
static HRESULT WINAPI InstallCallback_QueryInterface(IBindStatusCallback *iface,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment