meson: link with libdl

Change-Id: I010069c97af03b8128c22765eb5814b2fb0a59c2
Gitlab: #254
This commit is contained in:
Vladimir Stoiakin
2020-07-02 15:39:47 +03:00
committed by Adrien Béraud
parent 1ec8964f56
commit b87c7d6d21
2 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@ if get_option('plugins')
'-DENABLE_LIBXML2=OFF'
]).dependency('archive_static')
endif
depdl = meson.get_compiler('cpp').find_library('dl', required: false)
else
conf.set('ENABLE_PLUGIN', false)
endif