More OS X debugging.
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Oct 2013 02:33:16 +0000 (03:33 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 13 Oct 2013 02:33:16 +0000 (03:33 +0100)
src/lib/util.cc

index b9075310308442901452beb0e0a86d00967c6758..eebcf89af045e7bd63f8c634b82d3dcd58a0913b 100644 (file)
@@ -289,7 +289,8 @@ dcpomatic_setup ()
        boost::filesystem::path lib = app_contents ();
        lib /= "lib";
        std::cout << "adding search dir " << lib.c_str() << "\n";
-       lt_dladdsearchdir (lib.c_str ());
+//     lt_dladdsearchdir (lib.c_str ());
+       setenv ("LTDL_LIBRARY_PATH", lib.c_str (), 1);
 #endif 
 
        libdcp::init ();