makefiles: Install only exe files in the bin directory.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-12-12 09:23:05 +01:00
parent ee9beb5863
commit ef2475b4f0
1 changed files with 1 additions and 1 deletions

View File

@ -3364,7 +3364,7 @@ static void output_module( struct makefile *make )
if (spec_file)
output_man_pages( make );
else if (*dll_ext && !make->is_win16)
else if (*dll_ext && !make->is_win16 && strendswith( make->module, ".exe" ))
{
char *binary = replace_extension( make->module, ".exe", "" );
add_install_rule( make, binary, "wineapploader", strmake( "t$(bindir)/%s", binary ));