From: Vladimír Čunát Date: Wed, 7 Dec 2022 11:19:41 +0000 (+0100) Subject: meson: utilize the version bump X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmeson-update;p=thirdparty%2Fknot-resolver.git meson: utilize the version bump --- diff --git a/meson.build b/meson.build index ed43541c8..41a44aa2a 100644 --- a/meson.build +++ b/meson.build @@ -131,9 +131,7 @@ malloc_name = get_option('malloc') == 'disabled' ? '' : 'jemalloc' 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, diff --git a/tests/dnstap/meson.build b/tests/dnstap/meson.build index 1dfd87e71..5415a4efe 100644 --- a/tests/dnstap/meson.build +++ b/tests/dnstap/meson.build @@ -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 ) diff --git a/tests/unit/meson.build b/tests/unit/meson.build index b10789cc2..9477262df 100644 --- a/tests/unit/meson.build +++ b/tests/unit/meson.build @@ -31,7 +31,6 @@ foreach unit_test : unit_tests 'unit.' + unit_test[0], exec_test, suite: 'unit', - # they take very short time - kwargs: meson.version().version_compare('<0.52') ? {} : { 'priority': -5 }, + priority: -5, # they take very short time ) endforeach