diff options
author | David Robillard <d@drobilla.net> | 2011-11-25 09:25:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-25 09:25:59 +0000 |
commit | bd85cff0cfe86d87cbe895ac0591d83f7e82c03b (patch) | |
tree | a9815c9d3d3db9a7b0500f38fa6beea3e08ddae2 /src/main.cpp | |
parent | 7d019ef3ca1396e62049987b099c5c99616fb492 (diff) | |
download | patchage-bd85cff0cfe86d87cbe895ac0591d83f7e82c03b.tar.gz patchage-bd85cff0cfe86d87cbe895ac0591d83f7e82c03b.tar.bz2 patchage-bd85cff0cfe86d87cbe895ac0591d83f7e82c03b.zip |
Fix OSX bundle.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3629 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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"); |