diff --git a/meson.build b/meson.build index c6da345ddb608648a84752669f77394135b5c36a..c830bc077ecabcc3026ab74defe7ab4ab7c44382 100644 --- a/meson.build +++ b/meson.build @@ -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 diff --git a/src/meson.build b/src/meson.build index 4225de7e25cbac25dfec0ff26a773c0d184ba923..ccba7d495f902c38ddc7da3f2dd8fa262da29d86 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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',