[gnome-keyring/wip/nielsdg/meson] fixup! Support Meson build system



commit 7a52f5935aed42dd1ff3498dd3de046ed4ae43d2
Author: Jan Tojnar <jtojnar gmail com>
Date:   Sun May 22 17:21:14 2022 +0200

    fixup! Support Meson build system

 pkcs11/gkm/meson.build | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/pkcs11/gkm/meson.build b/pkcs11/gkm/meson.build
index 703f4d23..4d82d474 100644
--- a/pkcs11/gkm/meson.build
+++ b/pkcs11/gkm/meson.build
@@ -119,8 +119,9 @@ libgkm_tests_cflags = [
 ]
 
 foreach test_name : libgkm_tests
-  test_bin = executable(test_name,
-    '@0@.c'.format(test_name),
+  test_bin = executable(
+    test_name,
+    sources: f'@test_name@.c',
     dependencies: [ libgkm_dep, libgkm_deps ],
     link_with: libgkm_mock,
     c_args: libgkm_tests_cflags,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]