diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-06-09 18:24:29 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-06-09 18:24:29 +0000 |
commit | bd411f64eec0d4c488ca0ee0519affa4f605d610 (patch) | |
tree | 79c4056f5681f22fd9a06d70aa0434b7804f0628 | |
parent | eabab8a01dc61e78cc76185271e0698e1fb7fc04 (diff) |
set platform-specific search paths
svn path=/trunk/externals/plugin~/; revision=13632
-rw-r--r-- | jsearch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |