winebuild: Don't output the relay table if no entry point needs it.

This commit is contained in:
Alexandre Julliard 2009-03-04 14:07:49 +01:00
parent bdd55d0875
commit fda642d075
1 changed files with 1 additions and 2 deletions

View File

@ -308,8 +308,7 @@ void output_exports( DLLSPEC *spec )
/* output relays */
/* we only support relay debugging on i386 and x86_64 */
if (target_cpu != CPU_x86 && target_cpu != CPU_x86_64)
if (!has_relays( spec ))
{
output( "\t%s 0\n", get_asm_ptr_keyword() );
return;