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

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

 



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@xxxxxxxxxxxxxxxx>
---
 utils/keytable/bpf_protocols/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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@',
-- 
Regards,

Laurent Pinchart




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux