diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index b4b5822a22..211c7d7350 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -3019,8 +3019,11 @@ PluginManager::ladspa_plugin_info () const ARDOUR::PluginInfoList& PluginManager::lv2_plugin_info () { +#ifdef LV2_SUPPORT assert(_lv2_plugin_info); return *_lv2_plugin_info; +#endif + return _empty_plugin_info; } const ARDOUR::PluginInfoList&