summaryrefslogtreecommitdiff
path: root/libs/ardour/system_exec.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-11-13 19:57:40 +0100
committerRobin Gareus <robin@gareus.org>2014-11-13 19:57:40 +0100
commitcb3803433491abfe7c58742dbe7801591b21694a (patch)
treea88aa8e57134555ae2f6f8db3bad7e85d0b9d13f /libs/ardour/system_exec.cc
parent9a9a8f78ef445bb388e461a9d0bfe169e4124ab7 (diff)
install all additional binaries in $libdir
Diffstat (limited to 'libs/ardour/system_exec.cc')
-rw-r--r--libs/ardour/system_exec.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/system_exec.cc b/libs/ardour/system_exec.cc
index 75b20e4500..d83165252a 100644
--- a/libs/ardour/system_exec.cc
+++ b/libs/ardour/system_exec.cc
@@ -35,7 +35,10 @@ 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 */