summaryrefslogtreecommitdiff
path: root/src/qcam/format_converter.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-04 18:00:04 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-24 09:45:56 +0000
commit1d8ca53d581fb9e088ca2a91ca72788f32f7ec59 (patch)
tree33c78d1be5a09febf5ff931554570fa03a4de866 /src/qcam/format_converter.cpp
parent417c4ae87e6963ca86f308b31793ef96cc33c71a (diff)
libcamera: ipa_manager: Search for IPA libraries in build tree
When libcamera is built and tested (or used at all) before installing to the configured prefix path, it will be unable to locate the IPA binaries, or IPA binaries previously installed in the system paths may be incorrect to load. Utilise the build_rpath dynamic tag which is stripped out by meson at install time to determine at runtime if the library currently executing has been installed or not. When not installed and running from a build tree, identify the location of that tree by finding the path of the active libcamera.so itself, and from that point add a relative path to be able to load the most recently built IPA modules. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/format_converter.cpp')
0 files changed, 0 insertions, 0 deletions