summaryrefslogtreecommitdiff
path: root/src/libcamera/ipa_proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/ipa_proxy.cpp')
-rw-r--r--src/libcamera/ipa_proxy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/ipa_proxy.cpp b/src/libcamera/ipa_proxy.cpp
index 2f866cc4..5fd88a4b 100644
--- a/src/libcamera/ipa_proxy.cpp
+++ b/src/libcamera/ipa_proxy.cpp
@@ -97,9 +97,9 @@ std::string IPAProxy::resolvePath(const std::string &file) const
* This requires identifying the path of the libcamera.so, and
* referencing a relative path for the proxy workers from that point.
*/
- if (!utils::isLibcameraInstalled()) {
- std::string ipaProxyDir = utils::dirname(utils::libcameraPath())
- + "/proxy/worker";
+ std::string root = utils::libcameraBuildPath();
+ if (!root.empty()) {
+ std::string ipaProxyDir = root + "src/libcamera/proxy/worker";
LOG(IPAProxy, Info)
<< "libcamera is not installed. Loading proxy workers from'"