summaryrefslogtreecommitdiff
path: root/gtk2_ardour/bundle_env_msvc.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2015-02-13 11:23:59 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2015-02-13 11:23:59 +0000
commita3857b5d2cedd81fd108cbc851ca915eec8c805b (patch)
tree790d31fc51dc8ab710cef073a7e43164032b1bc4 /gtk2_ardour/bundle_env_msvc.cc
parent74839190d9155e149a4715368a5b80940a7c6117 (diff)
When building with MSVC, follow Robin's lead and add support for a new env var (SUIL_MODULE_DIR)
Diffstat (limited to 'gtk2_ardour/bundle_env_msvc.cc')
-rw-r--r--gtk2_ardour/bundle_env_msvc.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/bundle_env_msvc.cc b/gtk2_ardour/bundle_env_msvc.cc
index 4c4102e74f..08087fa0d1 100644
--- a/gtk2_ardour/bundle_env_msvc.cc
+++ b/gtk2_ardour/bundle_env_msvc.cc
@@ -411,6 +411,10 @@ fixup_bundle_environment (int argc, char* argv[], const char** localedir)
Glib::setenv ("LADSPA_PATH", path, true);
+ // Next, set up 'SUIL_MODULE_DIR'
+ Glib::setenv ("SUIL_MODULE_DIR", Glib::build_filename(ardour_dll_directory(), "suil"), true);
+
+
// Next, set up 'VAMP_PATH'
cstr = getenv ("VAMP_PATH");
if (cstr) {