py: Add comment about the symlinks

Add comment about the symlinks to clarify the purpose.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Tomi Valkeinen 2022-05-18 16:13:14 +03:00 committed by Laurent Pinchart
parent 1d72eca347
commit 4de9539f51

View file

@ -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)