diff --git a/scripts/check-remote-protocol.py b/scripts/check-remote-protocol.py index cf9e3f84a1..e28fb80cdd 100644 --- a/scripts/check-remote-protocol.py +++ b/scripts/check-remote-protocol.py @@ -32,9 +32,8 @@ import subprocess import sys cc = sys.argv[1] -objext = sys.argv[2] -proto_lo = sys.argv[3] -expected = sys.argv[4] +proto_lo = sys.argv[2] +expected = sys.argv[3] proto_lo = proto_lo.replace("/", "/.libs/") diff --git a/src/Makefile.am b/src/Makefile.am index b893f4179e..f8237144a3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -228,25 +228,25 @@ $(srcdir)/remote_protocol-struct \ $(srcdir)/lxc_protocol-struct: \ $(srcdir)/%-struct: remote/libvirt_driver_remote_la-%.lo $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(CHECK_REMOTE_PROTOCOL) \ - "$(CC)" "$(OBJEXT)" $< $(@)s + "$(CC)" $< $(@)s $(srcdir)/virnetprotocol-struct $(srcdir)/virkeepaliveprotocol-struct: \ $(srcdir)/%-struct: rpc/libvirt_net_rpc_la-%.lo $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(CHECK_REMOTE_PROTOCOL) \ - "$(CC)" "$(OBJEXT)" $< $(@)s + "$(CC)" $< $(@)s if WITH_LXC $(srcdir)/lxc_monitor_protocol-struct: \ $(srcdir)/%-struct: lxc/libvirt_driver_lxc_impl_la-%.lo $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(CHECK_REMOTE_PROTOCOL) \ - "$(CC)" "$(OBJEXT)" $< $(@)s + "$(CC)" $< $(@)s endif WITH_LXC $(srcdir)/lock_protocol-struct: \ $(srcdir)/%-struct: locking/lockd_la-%.lo $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(CHECK_REMOTE_PROTOCOL) \ - "$(CC)" "$(OBJEXT)" $< $(@)s + "$(CC)" $< $(@)s $(srcdir)/admin_protocol-struct: \ $(srcdir)/%-struct: admin/libvirt_admin_la-%.lo $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(CHECK_REMOTE_PROTOCOL) \ - "$(CC)" "$(OBJEXT)" $< $(@)s + "$(CC)" $< $(@)s else !WITH_REMOTE # The $(PROTOCOL_STRUCTS) files must live in git, because they cannot be