From 88d0af9e3d494b76de319475488c0ccbd08fd8e5 Mon Sep 17 00:00:00 2001 From: Adrien Beraud Date: Mon, 12 Aug 2024 15:59:58 -0400 Subject: [PATCH] meson: fix conf_data used before definition --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index eed85342b..5fb2d2a33 100644 --- a/meson.build +++ b/meson.build @@ -16,6 +16,7 @@ llhttp = dependency('llhttp', 'libllhttp', required: get_option('proxy_client')) io_uring = dependency('liburing', required: false) deps = [fmt, gnutls, nettle, msgpack, argon2, openssl, jsoncpp, llhttp, io_uring] +conf_data = configuration_data() add_project_arguments('-DMSGPACK_NO_BOOST', '-DASIO_STANDALONE', language : 'cpp') if io_uring.found() @@ -45,8 +46,6 @@ opendht_src = [ 'src/thread_pool.cpp', ] -conf_data = configuration_data() - if get_option('indexation').enabled() opendht_src += 'src/indexation/pht.cpp' add_project_arguments('-DOPENDHT_INDEXATION', language : 'cpp')