winegcc: Don't use prelink when cross-compiling.

This commit is contained in:
Alexandre Julliard 2013-02-18 16:36:03 +01:00
parent acaad0a842
commit 381bbe1b28
1 changed files with 1 additions and 1 deletions

View File

@ -1065,7 +1065,7 @@ static void build(struct options* opts)
strarray_free (link_args);
/* set the base address */
if (opts->image_base)
if (opts->image_base && !opts->target)
{
const char *prelink = PRELINK;
if (prelink[0] && strcmp(prelink,"false"))