In Makefile.am, add the value of $(V) to the dllfixdbg call.
In dllfixdbg, if V=1, print what the script is doing.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-lgcc -lkernel32 -lntdll -Wl,-Map,cygwin.map
$(DBG_DLL_NAME) $(NEW_DLL_NAME): $(PRE_DLL_NAME)
- $(AM_V_GEN)$(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $(PRE_DLL_NAME) $(DBG_DLL_NAME) $(NEW_DLL_NAME)
+ $(AM_V_GEN)$(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $(PRE_DLL_NAME) $(DBG_DLL_NAME) $(NEW_DLL_NAME) $(V)
# cygwin import library
toolopts=--cpu=@target_cpu@ --ar=@AR@ --as=@AS@ --nm=@NM@ --objcopy=@OBJCOPY@
sub xit($@) {
my $execit = shift;
- #print "+ @_\n";
+ print "+ @_\n" if ($verbose);
if ($execit) {
exec @_ or die "$0: couldn't exec $_[0] - $!\n";
} else {