From 4de9539f514f297c5c244308b95ee022943ee90a Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 18 May 2022 16:13:14 +0300 Subject: py: Add comment about the symlinks Add comment about the symlinks to clarify the purpose. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham Signed-off-by: Laurent Pinchart --- src/py/libcamera/meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build index 3c0828b8..427716d7 100644 --- a/src/py/libcamera/meson.build +++ b/src/py/libcamera/meson.build @@ -54,6 +54,9 @@ pycamera = shared_module('_libcamera', dependencies : pycamera_deps, cpp_args : pycamera_args) +# Create symlinks from the build dir to the source dir so that we can use the +# Python module directly from the build dir. + run_command('ln', '-fsT', files('__init__.py'), meson.current_build_dir() / '__init__.py', check: true) -- cgit v1.2.1