From 17bf7df22762b0ecb64d0c72baed608a90363199 Mon Sep 17 00:00:00 2001 From: Umang Jain Date: Fri, 7 May 2021 11:28:40 +0530 Subject: meson: Replace obselete join_paths() with '/' operator Since meson v0.49.0, join_paths() is equivalent to '/' hence, drop and replace it with '/' short-hand in meson files. This commit does not introduce any functional changes. Signed-off-by: Umang Jain Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham Signed-off-by: Kieran Bingham --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 13d88301..46eb1b46 100644 --- a/meson.build +++ b/meson.build @@ -148,8 +148,7 @@ endif # Create a symlink from the build root to the source root. This is used when # running libcamera from the build directory to locate resources in the source # directory (such as IPA configuration files). -run_command('ln', '-fsT', meson.source_root(), - join_paths(meson.build_root(), 'source')) +run_command('ln', '-fsT', meson.source_root(), meson.build_root() / 'source') configure_file(output : 'config.h', configuration : config_h) -- cgit v1.2.1