diff options
| -rw-r--r-- | src/lib/cross.h | 3 | ||||
| -rw-r--r-- | src/lib/util.cc | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h index 1b92a8409..4d3d2b2c7 100644 --- a/src/lib/cross.h +++ b/src/lib/cross.h @@ -49,9 +49,6 @@ extern boost::filesystem::path openssl_path (); #ifdef DCPOMATIC_DISK extern boost::filesystem::path disk_writer_path (); #endif -#ifdef DCPOMATIC_OSX -extern boost::filesystem::path app_contents (); -#endif #ifdef DCPOMATIC_WINDOWS extern void maybe_open_console (); #endif diff --git a/src/lib/util.cc b/src/lib/util.cc index bff205cfb..e0efbc6f5 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -362,7 +362,7 @@ dcpomatic_setup () /* Add our library directory to the libltdl search path so that xmlsec can find xmlsec1-openssl. */ - boost::filesystem::path lib = app_contents (); + boost::filesystem::path lib = directory_containing_executable().parent_path(); lib /= "Frameworks"; setenv ("LTDL_LIBRARY_PATH", lib.c_str (), 1); #endif |
