Skip to content

Commit aec4476

Browse files
committed
Fix juce7 LV2 build with JUCE_AUDIOPROCESSOR_NO_GUI
Signed-off-by: falkTX <[email protected]>
1 parent b3596e6 commit aec4476

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

libs/juce7/patches/21_audioprocessor-no-gui.patch

+14
Original file line numberDiff line numberDiff line change
@@ -418,3 +418,17 @@ index c222899fd..e5ec0a33a 100644
418418

419419
//==============================================================================
420420
/** Returns the complete absolute path of the host application executable. */
421+
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
422+
index 1d3e3e1a5..4dfabfce5 100644
423+
--- a/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp
424+
+++ b/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp
425+
@@ -35,7 +35,9 @@
426+
427+
#define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
428+
#define JUCE_CORE_INCLUDE_OBJC_HELPERS 1
429+
+#if ! JUCE_AUDIOPROCESSOR_NO_GUI
430+
#define JUCE_GUI_BASICS_INCLUDE_XHEADERS 1
431+
+#endif
432+
433+
#include <juce_audio_plugin_client/juce_audio_plugin_client.h>
434+
#include <juce_audio_plugin_client/detail/juce_CheckSettingMacros.h>

0 commit comments

Comments
 (0)