mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:54:05 +00:00
setupapi: Fix wildcard matching for fakedlls inside the build dir.
To avoid *.sys matching windows.system.profile.systemmanufacturers.dll.
This commit is contained in:
parent
92520c6a1a
commit
6a4e0d60fa
|
@ -989,6 +989,8 @@ static void install_lib_dir( WCHAR *dest, WCHAR *file, const WCHAR *wildcard,
|
|||
lstrcatW( name, data.name );
|
||||
if (wcschr( data.name, '.' ) && install_fake_dll( dest, file, delete, &delay_copy ))
|
||||
continue;
|
||||
if (wcschr( wildcard, '.' )) /* don't append default if wildcard has an explicit extension */
|
||||
continue;
|
||||
lstrcatW( name, default_ext );
|
||||
}
|
||||
install_fake_dll( dest, file, delete, &delay_copy );
|
||||
|
|
Loading…
Reference in a new issue