]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Fix lua_records handling
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 15 Aug 2023 11:24:55 +0000 (13:24 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:36 +0000 (13:28 +0100)
meson/lua-records/meson.build

index 16b330a33e749ce9924c246467777f668f6ee7ca..7b91ae71ed000c0317ff5d9eb357064899652354 100644 (file)
@@ -4,6 +4,7 @@
 opt_lua_records = get_option('lua-records')
 
 dep_libcurl = dependency('libcurl', version: '>= 7.21.3', required: opt_lua_records)
+deps += dep_libcurl
 conf.set10('HAVE_LIBCURL', dep_libcurl.found(), description: 'Whether we have libcurl')
 
 opt_lua_enabled = opt_lua in ['auto', 'luajit', 'lua']
@@ -17,5 +18,5 @@ if not dep_lua.found()
 endif
 
 found = opt_lua_records and opt_lua_enabled and dep_lua.found() and dep_libcurl.found()
-conf.set10('HAVE_LUA_RECORDS', found, description: 'Whether we have Lua records')
+conf.set('HAVE_LUA_RECORDS', found, description: 'Whether we have Lua records')
 summary('Lua Records', found, bool_yn: true, section: 'Configuration')