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

Alexandre Julliard julliard at winehq.org
Mon Feb 18 13:27:06 CST 2013


Module: wine
Branch: master
Commit: 381bbe1b28a3c9c9313e65118374ecc85266a4ac
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=381bbe1b28a3c9c9313e65118374ecc85266a4ac

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Feb 18 16:36:03 2013 +0100

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

---

 tools/winegcc/winegcc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 2432bf3..7d528e0 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -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"))




More information about the wine-cvs mailing list