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 --- src/libcamera/meson.build | 2 +- src/libcamera/proxy/worker/meson.build | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libcamera') diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 675053d4..7bc59b84 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -103,7 +103,7 @@ endforeach libcamera_sources += control_sources -gen_version = join_paths(meson.source_root(), 'utils', 'gen-version.sh') +gen_version = meson.source_root() / 'utils' / 'gen-version.sh' version_cpp = vcs_tag(command : [gen_version, meson.build_root()], input : 'version.cpp.in', diff --git a/src/libcamera/proxy/worker/meson.build b/src/libcamera/proxy/worker/meson.build index 3796103e..40dada9d 100644 --- a/src/libcamera/proxy/worker/meson.build +++ b/src/libcamera/proxy/worker/meson.build @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 -proxy_install_dir = join_paths(get_option('libexecdir'), 'libcamera') +proxy_install_dir = get_option('libexecdir') / 'libcamera' # generate {pipeline}_ipa_proxy_worker.cpp foreach mojom : ipa_mojoms @@ -25,4 +25,4 @@ foreach mojom : ipa_mojoms endforeach config_h.set('IPA_PROXY_DIR', - '"' + join_paths(get_option('prefix'), proxy_install_dir) + '"') + '"' + get_option('prefix') / proxy_install_dir + '"') -- cgit v1.2.1