Browse Source

Fix juce7 LV2 build with JUCE_AUDIOPROCESSOR_NO_GUI

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 6 months ago
parent
commit
aec4476a37
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 15 additions and 1 deletions
  1. +14
    -0
      libs/juce7/patches/21_audioprocessor-no-gui.patch
  2. +1
    -1
      libs/juce7/source

+ 14
- 0
libs/juce7/patches/21_audioprocessor-no-gui.patch View File

@@ -418,3 +418,17 @@ index c222899fd..e5ec0a33a 100644
//==============================================================================
/** Returns the complete absolute path of the host application executable. */
diff --git a/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp b/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp
index 1d3e3e1a5..4dfabfce5 100644
--- a/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp
+++ b/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp
@@ -35,7 +35,9 @@
#define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
#define JUCE_CORE_INCLUDE_OBJC_HELPERS 1
+#if ! JUCE_AUDIOPROCESSOR_NO_GUI
#define JUCE_GUI_BASICS_INCLUDE_XHEADERS 1
+#endif
#include <juce_audio_plugin_client/juce_audio_plugin_client.h>
#include <juce_audio_plugin_client/detail/juce_CheckSettingMacros.h>

+ 1
- 1
libs/juce7/source

@@ -1 +1 @@
Subproject commit c3099e733e90b8a2e7071698980abd70efb9a4e7
Subproject commit edbf62d44dda54236ee756a84f461cc06f43b496

Loading…
Cancel
Save