Commit 6a4e0d60 authored by Alexandre Julliard's avatar Alexandre Julliard

setupapi: Fix wildcard matching for fakedlls inside the build dir.

To avoid *.sys matching windows.system.profile.systemmanufacturers.dll.
parent 92520c6a
......@@ -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 );
......
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