Commit b87c7d6d authored by Vladimir Stoiakin's avatar Vladimir Stoiakin Committed by Adrien Béraud

meson: link with libdl

Change-Id: I010069c97af03b8128c22765eb5814b2fb0a59c2
Gitlab: #254
parent 1ec8964f
......@@ -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
......
......@@ -268,7 +268,7 @@ if conf.get('ENABLE_PLUGIN')
'plugin/pluginloaderdl.cpp',
'plugin/pluginmanager.cpp'
)
libjami_dependencies += deplibarchive
libjami_dependencies += [deplibarchive, depdl]
endif
libjami = library('jami',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment