diff --git a/source/native-plugins/_all.c b/source/native-plugins/_all.c index 8e79cbd11..a9a798948 100644 --- a/source/native-plugins/_all.c +++ b/source/native-plugins/_all.c @@ -116,7 +116,9 @@ void carla_register_all_native_plugins(void) #ifdef HAVE_ZYN_DEPS // ZynAddSubFX carla_register_native_plugin_zynaddsubfx_fx(); +# ifdef CARLA_OS_LINUX carla_register_native_plugin_zynaddsubfx_synth(); +# endif #endif #ifdef HAVE_EXPERIMENTAL_PLUGINS diff --git a/source/native-plugins/_data.cpp b/source/native-plugins/_data.cpp index fa135961d..31828beed 100644 --- a/source/native-plugins/_data.cpp +++ b/source/native-plugins/_data.cpp @@ -692,12 +692,13 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = { /* copyright */ "GNU GPL v2+", DESCFUNCS }, +# ifdef CARLA_OS_LINUX { /* category */ NATIVE_PLUGIN_CATEGORY_SYNTH, /* hints */ static_cast(NATIVE_PLUGIN_IS_SYNTH -#ifdef HAVE_ZYN_UI_DEPS +# ifdef HAVE_ZYN_UI_DEPS |NATIVE_PLUGIN_HAS_UI -#endif +# endif |NATIVE_PLUGIN_USES_MULTI_PROGS |NATIVE_PLUGIN_USES_STATE), /* supports */ static_cast(NATIVE_PLUGIN_SUPPORTS_CONTROL_CHANGES @@ -716,6 +717,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = { /* copyright */ "GNU GPL v2+", DESCFUNCS }, +# endif // CARLA_OS_LINUX #endif // HAVE_ZYN_DEPS