qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/1] plugins: fix win plugin tests on cross compile


From: Greg Manning
Subject: Re: [PATCH v2 1/1] plugins: fix win plugin tests on cross compile
Date: Thu, 9 Nov 2023 12:28:02 +0000

> On 11/9/23 10:24, Greg Manning wrote:
> >        t += shared_module(i, files(i + '.c') + 
> > '../../contrib/plugins/win32_linker.c',
> >                          include_directories: '../../include/qemu',
> > -                        objects: [win32_qemu_plugin_api_lib],
> > +                        link_depends: [win32_qemu_plugin_api_lib],
> > +                        link_args: ['-Lplugins', '-lqemu_plugin_api'],
> >                          dependencies: glib)
>
> Does it work if you use win32_qemu_plugin_api_lib.full_path() for the
> link_args?  (If so it can be fixed when applying).

full_path() doesn't exist on the return type of configure_file.

I've had a play around and not found a better method that works. Have tried 
various combinations of
custom_target vs configure_file, declare_dependency and cc.find_library(), but 
can't get it to:
* work from unbuilt
* add the file to the installer
* typecheck

all at the same time. Possibly related is: 
https://github.com/mesonbuild/meson/issues/5093

Greg.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]