diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-14 17:50:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-14 17:50:25 +0100 |
| commit | 877227c50d5f48f0de5d64352d11afc2e0db696f (patch) | |
| tree | b2b54cd6f6e25b70a92f98f95a7866038347f24b /src/lib/util.cc | |
| parent | 05a1936fcdca53c23496fd1341f5a9fb27738380 (diff) | |
| parent | 601001cc7abb3e69ae363dfde7c98c8ff4848b95 (diff) | |
Merge branch '1.0' of ssh://carlh.dyndns.org/home/carl/git/dvdomatic into 1.0
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..b13d905bf 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"; + setenv ("LTDL_LIBRARY_PATH", lib.c_str (), 1); +#endif + libdcp::init (); Ratio::setup_ratios (); |
