]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: utilize the version bump
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 7 Dec 2022 11:19:41 +0000 (12:19 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 10 Dec 2025 09:32:29 +0000 (10:32 +0100)
meson.build
tests/dnstap/meson.build
tests/unit/meson.build

index baac8abf65c82b8ba4aa28f71011e69b86690e84..5d86aa767239f5bcff981c6467b2d16391665046 100644 (file)
@@ -167,9 +167,7 @@ endif
 malloc = meson.get_compiler('c').find_library(
   malloc_name,
   required: get_option('malloc') == 'jemalloc',
-  #static: false, #TODO: add when bumping meson to >= 0.51;
-  # static linking would most likely cause issues.
-  # Fortunately it seems unlikely that dynamic wouldn't be found and static would be.
+  static: false, # static linking would most likely cause issues.
 )
 
 summary({'sendmmsg': sendmmsg,
index 1dfd87e71b9ee3b3599ed3ac8032ae6af4c1bcd5..5415a4efe1f8a1f5f02467236f5b21ce05b171dd 100644 (file)
@@ -5,7 +5,6 @@ test('dnstap',
   args: [ sbin_dir / 'kresd' ],
   suite: [ 'postinstall', 'dnstap' ],
   timeout: 120, # it may need to fetch go packages, etc.
-  # it takes relatively long time
-  kwargs: meson.version().version_compare('<0.52') ? {} : { 'priority': 5 },
+  priority: 5, # it takes relatively long time
 )
 
index 7e0be7b071070624aab278e95f89fdcfa9222d68..046304f0148083f48689dc507535d5218c38b8db 100644 (file)
@@ -39,7 +39,6 @@ foreach unit_test : unit_tests
     'unit.' + unit_test[0],
     exec_test,
     suite: [ 'unit' ] + extra_suites,
-    # they take very short time
-    kwargs: meson.version().version_compare('<0.52') ? {} : { 'priority': -5 },
+    priority: -5, # they take very short time
   )
 endforeach