diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-01 06:44:23 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-08 11:43:16 +0200 |
commit | ccf7afa59e070b0cc65618af91dc01105f04e566 (patch) | |
tree | 60c33c4bb5960da48ebe716ab24b9d7279ad5e97 /meson.build | |
parent | 201e8ed7df00cffe6df967bd42903c1cbcecd721 (diff) |
configure: move -ldl test to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index d619cd901e..8cc26fd859 100644 --- a/meson.build +++ b/meson.build @@ -211,6 +211,10 @@ libmpathpersist = not_found if config_host.has_key('CONFIG_MPATH') libmpathpersist = cc.find_library('mpathpersist') endif +libdl = not_found +if 'CONFIG_PLUGIN' in config_host + libdl = cc.find_library('dl', required: true) +endif libiscsi = not_found if 'CONFIG_LIBISCSI' in config_host libiscsi = declare_dependency(compile_args: config_host['LIBISCSI_CFLAGS'].split(), |