From 02e76bad8e585e2c3b9eca79b81d24a589969623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Mon, 17 Jan 2022 08:10:05 +0100 Subject: [PATCH] spa: tests: meson.build: specify `configuration` inline Do not construct a `cfg_data` object, instead, simply pass a dictionary to `configure_file()`. --- spa/tests/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spa/tests/meson.build b/spa/tests/meson.build index 990df87bd..16826303a 100644 --- a/spa/tests/meson.build +++ b/spa/tests/meson.build @@ -13,11 +13,11 @@ if find.found() foreach spa_header : spa_headers.stdout().split('\n') if spa_header.endswith('.h') # skip empty lines ext = have_cpp ? 'cpp' : 'c' - c = configuration_data() - c.set('INCLUDE', spa_header) src = configure_file(input: 'spa-include-test-template.c', - output: 'spa-include-test-@0@.@1@'.format(spa_header.underscorify(), ext), - configuration: c) + output: 'spa-include-test-@0@.@1@'.format(spa_header.underscorify(), ext), + configuration: { + 'INCLUDE': spa_header, + }) executable('spa-include-test-@0@'.format(spa_header.underscorify()), src, dependencies: [ spa_dep ],