From 37d960faee04f560691219509fdc12a90761d780 Mon Sep 17 00:00:00 2001 From: Clemens Date: Tue, 29 Jan 2002 02:58:20 +0000 Subject: [PATCH] Should process the .dynsym of shared libraries instead of the .stab. --- tools/winebuild/import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index 2fda7860981..39634de7133 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -112,8 +112,8 @@ static void read_exported_symbols( const char *name, struct import *imp ) if (!(ext = strrchr( name, '.' ))) ext = name + strlen(name); if (!(fullname = open_library( name ))) return; - cmdline = xmalloc( strlen(fullname) + 4 ); - sprintf( cmdline, "nm %s", fullname ); + cmdline = xmalloc( strlen(fullname) + 7 ); + sprintf( cmdline, "nm -D %s", fullname ); free( fullname ); if (!(f = popen( cmdline, "r" )))