diff options
-rw-r--r-- | src/lilv_config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lilv_config.h b/src/lilv_config.h index 5bf738f..d249bb7 100644 --- a/src/lilv_config.h +++ b/src/lilv_config.h @@ -18,7 +18,12 @@ // Default value for LV2_PATH environment variable #ifndef LILV_DEFAULT_LV2_PATH -# ifdef _WIN32 +# if defined(__APPLE__) +# define LILV_DEFAULT_LV2_PATH \ + "~/.lv2:~/Library/Audio/Plug-Ins/LV2:" \ + "/usr/local/lib/lv2:/usr/lib/lv2:" \ + "/Library/Audio/Plug-Ins/LV2" +# elif defined(_WIN32) # define LILV_DEFAULT_LV2_PATH "%APPDATA%\\LV2;%COMMONPROGRAMFILES%\\LV2" # else # define LILV_DEFAULT_LV2_PATH "~/.lv2:/usr/local/lib/lv2:/usr/lib/lv2" |