mark session dirty when plugin pin mapping changes
[ardour.git] / libs / ardour / system_exec.cc
index 75b20e4500279411e35b0096345baa12f9287eee..b85b2347aebb76d9e8001f1a76d4914bc0dbb195 100644 (file)
@@ -35,11 +35,13 @@ static char *vfork_exec_wrapper_path() {
 #else
        std::string vfork_exec_wrapper;
        if (!PBD::find_file (
-                               PBD::Searchpath(Glib::build_filename(ARDOUR::ardour_dll_directory(), "vfork")),
+                               PBD::Searchpath(
+                                       ARDOUR::ardour_dll_directory() // deployed
+                                       + G_SEARCHPATH_SEPARATOR_S + Glib::build_filename(ARDOUR::ardour_dll_directory(), "vfork") // src, build (ardev, etc)
+                                       ),
                                "ardour-exec-wrapper", vfork_exec_wrapper)) {
                PBD::fatal << "vfork exec wrapper 'ardour-exec-wrapper' was not found in $PATH." << endmsg;
-               /* not reached */
-               return NULL;
+               abort(); /*NOTREACHED*/
        }
        return strdup(vfork_exec_wrapper.c_str());
 #endif