winegcc: Don't use prelink when cross-compiling.
This commit is contained in:
parent
acaad0a842
commit
381bbe1b28
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue