Avoid linking against tomlplusplus shared libs

This commit is contained in:
Robbert van der Helm
2023-02-20 16:17:49 +01:00
parent 3ef515fdc8
commit bf4ab15788
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -265,7 +265,8 @@ dbus_dep = dependency('dbus-1').partial_dependency(compile_args : true, includes
function2_dep = dependency('function2', version : '>=4.0.0')
ghc_filesystem_dep = dependency('ghc_filesystem', modules : 'ghcFilesystem::ghc_filesystem', version : '>=1.5.0')
threads_dep = dependency('threads')
tomlplusplus_dep = dependency('tomlplusplus', version : '>=2.0.0')
# Tomlplusplus recently added a shraed library version. We don't want to link to that.
tomlplusplus_dep = dependency('tomlplusplus', version : '>=3.0.0').partial_dependency(compile_args : true, includes : true)
dl_dep = declare_dependency(link_args : '-ldl')
rt_dep = declare_dependency(link_args : '-lrt')