Commit 381bbe1b authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent acaad0a8
...@@ -1065,7 +1065,7 @@ static void build(struct options* opts) ...@@ -1065,7 +1065,7 @@ static void build(struct options* opts)
strarray_free (link_args); strarray_free (link_args);
/* set the base address */ /* set the base address */
if (opts->image_base) if (opts->image_base && !opts->target)
{ {
const char *prelink = PRELINK; const char *prelink = PRELINK;
if (prelink[0] && strcmp(prelink,"false")) if (prelink[0] && strcmp(prelink,"false"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment