[PATCH] winebuild: Print the nm command in verbose mode

Martin Storsjo martin at martin.st
Wed Apr 10 07:49:59 CDT 2019


Signed-off-by: Martin Storsjo <martin at martin.st>
---
 tools/winebuild/import.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c
index 8838769b59..b82ff91400 100644
--- a/tools/winebuild/import.c
+++ b/tools/winebuild/import.c
@@ -548,6 +548,8 @@ void read_undef_symbols( DLLSPEC *spec, char **argv )
     name = ldcombine_files( spec, argv );
 
     cmd = strmake( "%s -u %s", prog, name );
+    if (verbose)
+        fprintf( stderr, "%s\n", cmd );
     if (!(f = popen( cmd, "r" )))
         fatal_error( "Cannot execute '%s'\n", cmd );
 
-- 
2.17.1




More information about the wine-devel mailing list