diff options
Diffstat (limited to 'src/lib/cross.cc')
| -rw-r--r-- | src/lib/cross.cc | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc index dcd4ddfd8..8d82f7a51 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -300,9 +300,17 @@ openssl_path () boost::filesystem::path path = dir; path /= "openssl.exe"; return path; -#else - /* We assume that it's on the path for Linux and OS X */ - return "openssl"; +#endif + +#ifdef DCPOMATIC_OSX + boost::filesystem::path path = app_contents(); + path /= "MacOS"; + path /= "openssl"; + return path; +#endif + +#ifdef DCPOMATIC_LINUX + return "dcpomatic2_openssl"; #endif } |
