winebuild: Specify the correct linker emulation for Windows platforms.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alexandre Julliard 2019-03-06 10:40:23 +01:00
parent 4f266a88c0
commit b9c5bac673
1 changed files with 3 additions and 0 deletions

View File

@ -449,6 +449,9 @@ struct strarray get_ld_command(void)
case PLATFORM_FREEBSD:
strarray_add( &args, "-m", (force_pointer_size == 8) ? "elf_x86_64_fbsd" : "elf_i386_fbsd", NULL );
break;
case PLATFORM_WINDOWS:
strarray_add( &args, "-m", (force_pointer_size == 8) ? "i386pep" : "i386pe", NULL );
break;
default:
switch(target_cpu)
{