Hopefully final solution to the OS X startup problem.
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Oct 2013 11:31:48 +0000 (12:31 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 13 Oct 2013 11:31:48 +0000 (12:31 +0100)
src/lib/util.cc

index eebcf89af045e7bd63f8c634b82d3dcd58a0913b..b13d905bf0983a00bb132b80d7b33b860dd32c6a 100644 (file)
@@ -69,9 +69,6 @@ extern "C" {
 #ifdef DCPOMATIC_WINDOWS
 #include "stack.hpp"
 #endif
-#ifdef DCPOMATIC_OSX
-#include <ltdl.h>
-#endif
 
 #include "i18n.h"
 
@@ -288,8 +285,6 @@ dcpomatic_setup ()
        */
        boost::filesystem::path lib = app_contents ();
        lib /= "lib";
-       std::cout << "adding search dir " << lib.c_str() << "\n";
-//     lt_dladdsearchdir (lib.c_str ());
        setenv ("LTDL_LIBRARY_PATH", lib.c_str (), 1);
 #endif