[libvirt] [PATCH] Fix qemud link

Jim Meyering jim at meyering.net
Wed Dec 17 09:10:04 UTC 2008


john.levon at sun.com wrote:

> # HG changeset patch
> # User john.levon at sun.com
> # Date 1229399267 28800
> # Node ID 57c76efe37988edc64beb12ca5dc1ff5863f0085
> # Parent  1f7707a3d49b20397011897cdc04c347322ad0c5
> Fix qemud link
>
> Order the LDADDs such that symbols are correctly resolved (namely
> asprintf() and getdelim()).
>
> Signed-off-by: John Levon <john.levon at sun.com>
>
> diff --git a/qemud/Makefile.am b/qemud/Makefile.am
> --- a/qemud/Makefile.am
> +++ b/qemud/Makefile.am
> @@ -95,6 +95,8 @@ libvirtd_LDADD =					\
>  	$(SASL_LIBS)					\
>  	$(POLKIT_LIBS)
>
> +libvirtd_LDADD += ../src/libvirt.la
> +
>  if ! WITH_DRIVER_MODULES
>  if WITH_QEMU
>  libvirtd_LDADD += ../src/libvirt_driver_qemu.la
> @@ -121,7 +123,7 @@ endif
>  endif
>  endif
>
> -libvirtd_LDADD += ../src/libvirt.la
> +libvirtd_LDADD += ../gnulib/lib/libgnu.la

This is no longer needed, since the change that added this:

    # This must be added last, since functions it provides/replaces
    # are used by nearly every other library.
    libvirtd_LDADD += ../gnulib/lib/libgnu.la

http://git.et.redhat.com/?p=libvirt.git;a=commitdiff;h=c29b4ff7a7b3c01a7c9




More information about the libvir-list mailing list