diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-12 19:55:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-12 19:55:10 +0100 |
| commit | 6b81b3e6a8ac208c0941536d4388f19fb85efc72 (patch) | |
| tree | bc4ee885e7ea185eedca0c722c98971a294a90e7 /src/lib/util.cc | |
| parent | a9c598df9f78c0284f75f52bb36ff30b0bb1071c (diff) | |
Try to fix xmlsec startup on OS X.
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 4b780e1b7..1d1372049 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -279,6 +279,15 @@ dcpomatic_setup () avfilter_register_all (); +#ifdef DCPOMATIC_OSX + /* Add our lib directory to the libltdl search path so that + xmlsec can find xmlsec1-openssl. + */ + boost::filesystem::path lib = app_contents (); + lib /= "lib"; + lt_dladdsearchdir (lib.c_str ()); +#endif + libdcp::init (); Ratio::setup_ratios (); |
