[PATCH] winebuild to read .dynsym instead of .stab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello!

winebuild should process the .dynsym of shared libraries instead of 
the .stab, since winebuild would otherwise become useless on prepackaged
installation, in which all shared libs are stripped, losing their regular
.stab.

--- tools/winebuild/import.c~	Sat Dec 15 00:14:26 2001
+++ tools/winebuild/import.c	Mon Jan 28 01:16:41 2002
@@ -112,8 +112,8 @@
     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" )))




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux