Martin Storsjo : winebuild: Print the nm command in verbose mode.

Alexandre Julliard julliard at winehq.org
Wed Apr 10 15:19:58 CDT 2019


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

Author: Martin Storsjo <martin at martin.st>
Date:   Wed Apr 10 15:49:59 2019 +0300

winebuild: Print the nm command in verbose mode.

Signed-off-by: Martin Storsjo <martin at martin.st>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/winebuild/import.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c
index 8838769..b82ff91 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 );
 




More information about the wine-cvs mailing list