[PATCH v2] Fix linkage to libutil and libkvm on FreeBSD 11
Pavel Hrdina
phrdina at redhat.com
Thu Sep 10 12:07:40 UTC 2020
On Thu, Sep 10, 2020 at 12:52:52PM +0100, Daniel P. Berrangé wrote:
> We are currently adding -lutil and -lkvm to the linker using the
> add_project_link_arguments method. On FreeBSD 11.4, this results in
> build errors because the args appear too early in the command line.
>
> We need to pass the libraries as dependencies so that they get placed
> at the same point in the linker args as other dependencies.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
> meson.build | 17 ++++++++---------
> src/bhyve/meson.build | 2 ++
> src/util/meson.build | 2 ++
> 3 files changed, 12 insertions(+), 9 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200910/e542d7d2/attachment-0001.sig>
More information about the libvir-list
mailing list