summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-07 19:19:02 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-30 00:38:14 +0200
commit3b51e992033302a3e7fcf9f0944be22dca596f82 (patch)
tree5b6d326e1b86ecafe1b034c5fcc7bdbcbb523a51 /src/lib
parente71e6d33210e4a4c7d7841d0d5d8e906e00bb82f (diff)
Works but builds everything.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cross_linux.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc
index 0a12d7cca..74e6f1132 100644
--- a/src/lib/cross_linux.cc
+++ b/src/lib/cross_linux.cc
@@ -157,6 +157,12 @@ openssl_path ()
return p;
}
+ /* flatpak */
+ p = directory_containing_executable() / "openssl";
+ if (boost::filesystem::is_regular_file(p)) {
+ return p;
+ }
+
return "dcpomatic2_openssl";
}