summaryrefslogtreecommitdiffstats
path: root/src/lilv_config.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-22 21:06:17 -0400
committerDavid Robillard <d@drobilla.net>2023-05-22 21:07:38 -0400
commitcaad4f5554fd77b61a0907a67bab90bc656d86ad (patch)
tree7fff9ac17d82880fb13e53c6cd01bdbee0c15b10 /src/lilv_config.h
parentcc18ce449fc75f763068899b7f50c37ca9b3d1b6 (diff)
downloadlilv-caad4f5554fd77b61a0907a67bab90bc656d86ad.tar.gz
lilv-caad4f5554fd77b61a0907a67bab90bc656d86ad.tar.bz2
lilv-caad4f5554fd77b61a0907a67bab90bc656d86ad.zip
Fix static default LV2_PATH value on MacOS
Diffstat (limited to 'src/lilv_config.h')
-rw-r--r--src/lilv_config.h7
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"