]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Retain Meson >= 0.61 version requirement
authorMichał Kępień <michal@isc.org>
Mon, 23 Jun 2025 08:23:17 +0000 (10:23 +0200)
committerMichał Kępień <michal@isc.org>
Mon, 23 Jun 2025 08:23:17 +0000 (10:23 +0200)
The add_project_dependencies() method was only added in Meson 0.63.
Replace its only use in meson.build with a corresponding call to the
add_project_link_arguments() method to avoid bumping the minimum
required Meson version beyond the one available in stock Ubuntu 22.04
LTS repositories.

meson.build

index 8568197ee17736b55948575c35000063b39e5907..154820dfdbf00d5f78c93282664fe9c7c95d2b21 100644 (file)
@@ -395,7 +395,7 @@ if not cc.links(atomic_test, name: 'usage of atomics without -latomic')
         )
     endif
 
-    add_project_dependencies(atomic_dep, language: 'c')
+    add_project_link_arguments('-latomic', language: 'c')
 endif
 
 ## OS