aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jsearch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/jsearch.c b/jsearch.c
index 82a840c..cc46c8b 100644
--- a/jsearch.c
+++ b/jsearch.c
@@ -104,7 +104,11 @@ LADSPAPluginSearch(LADSPAPluginSearchCallbackFunction fCallbackFunction,
pcLADSPAPath = getenv("LADSPA_PATH");
if (!pcLADSPAPath) {
//fprintf(stderr, "Warning: no LADSPA_PATH, assuming /usr/lib/ladspa:/usr/local/lib/ladspa\n");
+#ifdef __APPLE__
+ pcLADSPAPath = "/sw/lib/ladspa:/usr/local/lib/ladspa";
+#else
pcLADSPAPath = "/usr/lib/ladspa:/usr/local/lib/ladspa";
+#endif
}
pcStart = pcLADSPAPath;