[Libguestfs] [PATCH nbdkit 12/13] wrapper: Port the wrapper to run on Windows.

Richard W.M. Jones rjones at redhat.com
Thu Aug 20 11:48:59 UTC 2020


On Thu, Aug 20, 2020 at 12:37:45PM +0100, Richard W.M. Jones wrote:
> diff --git a/configure.ac b/configure.ac
> index 0b17ef95..61ee3a02 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -489,12 +489,18 @@ AS_CASE([$host_os],
>          LIBS="$LIBS -lmsvcrt -lkernel32 -luser32"
>          NO_UNDEFINED_ON_WINDOWS="-no-undefined"
>          IMPORT_LIBRARY_ON_WINDOWS='-Wl,-L$(top_builddir)/server -Wl,-lnbdkit'
> +        SOEXT="dll"
>      ],
> -    [is_windows=no]
> +    [is_windows=no], [
> +        SOEXT="so"
> +    ]

This is wrong for the non-Windows case.  It should be:

> +    [is_windows=no
> +     SOEXT="so"]

Fixed in my copy.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list