[libvirt] [PATCH 13/41] remote: refactor & rename variables for building libvirtd
abologna at redhat.com
Fri Jul 26 15:19:56 UTC 2019
On Tue, 2019-07-23 at 17:02 +0100, Daniel P. Berrangé wrote:
> The same make variables will be useful for building both libvirtd and
> the split daemons, so refactor & rename variables to facilitate reuse.
> Automake gets annoyed if you define a variable ending LDFLAGS:
> src/remote/Makefile.inc.am:53: warning: variable 'REMOTE_DAEMON_LDFLAGS' is defined but no program or
> src/remote/Makefile.inc.am:53: library has 'REMOTE_DAEMON' as canonical name (possible typo)
I'd indent this by two spaces for readabilty.
You're recreating the pre-existing setup faithfully, so
Reviewed-by: Andrea Bolognani <abologna at redhat.com>
> +REMOTE_DAEMON_LD_ADD += \
> + ../gnulib/lib/libgnu.la \
> + $(LIBSOCKET) \
> + $(NULL)
As an aside, it looks like $(LIBSOCKET) is a leftover of days long
gone and no longer used for anything.
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list