diff options
-rw-r--r-- | libs/ardour/filesystem_paths.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc index d3ec807e1c..73bfaff137 100644 --- a/libs/ardour/filesystem_paths.cc +++ b/libs/ardour/filesystem_paths.cc @@ -86,14 +86,11 @@ user_config_directory () std::string ardour_dll_directory () { - static std::string s; - + std::string s = Glib::getenv("ARDOUR_DLL_PATH"); if (s.empty()) { - s = Glib::getenv("ARDOUR_DLL_PATH"); std::cerr << _("ARDOUR_DLL_PATH not set in environment - exiting\n"); ::exit (1); - } - + } return s; } |