Browse Source

Fix macOS build

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.3
falkTX 2 years ago
parent
commit
c7813a4d63
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      plugins/Common/IldaeilPlugin.cpp

+ 3
- 2
plugins/Common/IldaeilPlugin.cpp View File

@@ -62,9 +62,9 @@ static const char* getPathForLADSPA()
if (path.isEmpty()) if (path.isEmpty())
{ {
#if defined(CARLA_OS_HAIKU) #if defined(CARLA_OS_HAIKU)
path = getHomePath() + "/.ladspa:/system/add-ons/media/ladspaplugins:/system/lib/ladspa";
path = getHomePath() + "/.ladspa:/system/add-ons/media/ladspaplugins:/system/lib/ladspa";
#elif defined(CARLA_OS_MAC) #elif defined(CARLA_OS_MAC)
ladspa = getHomePath() + "/Library/Audio/Plug-Ins/LADSPA:/Library/Audio/Plug-Ins/LADSPA";
path = getHomePath() + "/Library/Audio/Plug-Ins/LADSPA:/Library/Audio/Plug-Ins/LADSPA";
#elif defined(CARLA_OS_WASM) #elif defined(CARLA_OS_WASM)
path = "/ladspa"; path = "/ladspa";
#elif defined(CARLA_OS_WIN) #elif defined(CARLA_OS_WIN)
@@ -344,6 +344,7 @@ public:
#endif #endif
} }
carla_stdout("Using binary path: %s", fDiscoveryTool.buffer());
fDiscoveryTool += DISTRHO_OS_SEP_STR "carla-discovery-native" EXT; fDiscoveryTool += DISTRHO_OS_SEP_STR "carla-discovery-native" EXT;
#undef EXT #undef EXT


Loading…
Cancel
Save