Not every make supports recursive variable expansion so some automake
versions complain about non-POSIX variable names ever since commit
70bec4a9f8ec28d36c731011fa24d37c74ad3523 which added support for
silent-rules in our rule to compile the Windows .rc file.
This commit removes the recursive variables and instead uses the
simple and generic GEN message and associated variable.
if OS_WINDOWS
OS_SRC = $(WINDOWS_USB_SRC)
-pkg_v_rc = $(pkg_v_rc_$(V))
-pkg_v_rc_ = $(pkg_v_rc_$(AM_DEFAULT_VERBOSITY))
-pkg_v_rc_0 = @echo " RC $@";
-
.rc.lo:
- $(pkg_v_rc)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(RCFLAGS) -i $< -o $@
+ $(AM_V_GEN)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(RCFLAGS) -i $< -o $@
libusb-1.0.rc: version.h
endif