diff mbox series

[v6,05/13,FIXUP] meson: Use external_program object directly without calling path()

Message ID 20220829013327.5791-6-laurent.pinchart@ideasonboard.com
State New
Headers show
Series Add support for meson building | expand

Commit Message

Laurent Pinchart Aug. 29, 2022, 1:33 a.m. UTC
There is no need to call path() on an external_program object, it can be
passed directly to functions instead. Do so.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 utils/keytable/bpf_protocols/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/utils/keytable/bpf_protocols/meson.build b/utils/keytable/bpf_protocols/meson.build
index b079df8e961f..2562d30d2366 100644
--- a/utils/keytable/bpf_protocols/meson.build
+++ b/utils/keytable/bpf_protocols/meson.build
@@ -21,7 +21,7 @@  foreach file : bpf_protocols_files
                   output : output,
                   input : input,
                   command : [
-                      prog_clang.full_path(),
+                      prog_clang,
                       clang_sys_includes.stdout().split(),
                       '-D__linux__', '-target', 'bpf', '-O2',
                       '-c', '@INPUT@', '-o', '@OUTPUT@',