Allow build without libmenu-cache.
[lxde/lxpanel.git] / src / plugin.c
index aab8edf..ea8878c 100644 (file)
@@ -134,9 +134,11 @@ init_plugin_class_list()
     REGISTER_PLUGIN_CLASS(tray_plugin_class, 0);
 #endif
 
+#ifndef DISABLE_MENU
 #ifdef STATIC_MENU
     REGISTER_PLUGIN_CLASS(menu_plugin_class, 0);
 #endif
+#endif
 
 #ifdef STATIC_SPACE
     REGISTER_PLUGIN_CLASS(space_plugin_class, 0);