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(a)redhat.com>
---
meson.build | 17 ++++++++---------
src/bhyve/meson.build | 2 ++
src/util/meson.build | 2 ++
3 files changed, 12 insertions(+), 9 deletions(-)
Reviewed-by: Roman Bogorodskiy <bogorodskiy(a)gmail.com>
Roman Bogorodskiy