Alexandre Julliard : winebuild: Do not output an undefined symbol reference for variables.

Alexandre Julliard julliard at winehq.org
Mon Jan 11 15:59:37 CST 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jan 11 13:54:16 2010 -0600

winebuild: Do not output an undefined symbol reference for variables.

---

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

diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c
index a81d564..e5e87d3 100644
--- a/tools/winebuild/import.c
+++ b/tools/winebuild/import.c
@@ -508,7 +508,7 @@ static char *create_undef_symbols_file( DLLSPEC *spec )
     for (i = 0; i < spec->nb_entry_points; i++)
     {
         ORDDEF *odp = &spec->entry_points[i];
-        if (odp->type == TYPE_STUB || odp->type == TYPE_ABS) continue;
+        if (odp->type == TYPE_STUB || odp->type == TYPE_ABS || odp->type == TYPE_VARIABLE) continue;
         if (odp->flags & FLAG_FORWARD) continue;
         fprintf( f, "\t%s %s\n", get_asm_ptr_keyword(), asm_name(odp->link_name) );
     }




More information about the wine-cvs mailing list