From caad4f5554fd77b61a0907a67bab90bc656d86ad Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 22 May 2023 21:06:17 -0400 Subject: Fix static default LV2_PATH value on MacOS --- src/lilv_config.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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" -- cgit v1.2.1