From bd85cff0cfe86d87cbe895ac0591d83f7e82c03b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 25 Nov 2011 09:25:59 +0000 Subject: Fix OSX bundle. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3629 a436a847-0d15-0410-975c-d299462d15a1 --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 750cb30..5b954bd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,9 +41,9 @@ set_bundle_environment() const std::string bundle_path = binloc.substr(0, binloc.find_last_of('/')); - const std::string gtk_path(bundle_path + "/lib"); - setenv("GTK_PATH", gtk_path.c_str(), 1); - std::cout << "GTK PATH " << gtk_path << std::endl; + const std::string lib_path(bundle_path + "/lib"); + setenv("GTK_PATH", lib_path.c_str(), 1); + setenv("DYLD_LIBRARY_PATH", lib_path.c_str(), 1); chdir(bundle_path.c_str()); const std::string pangorc_path(bundle_path + "/Resources/pangorc"); -- cgit v1.2.1