summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmate-panel-applet/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/libmate-panel-applet/Makefile.am b/libmate-panel-applet/Makefile.am
index dfe056ea..0a4eb391 100644
--- a/libmate-panel-applet/Makefile.am
+++ b/libmate-panel-applet/Makefile.am
@@ -23,10 +23,14 @@ libmate_panel_applet_4_la_SOURCES = \
mate-panel-applet-factory.c \
mate-panel-applet-gsettings.c \
mate-panel-applet-gsettings.h \
- panel-plug.c \
- panel-plug-private.h \
panel-applet-private.h
+if ENABLE_X11
+libmate_panel_applet_4_la_SOURCES += \
+ panel-plug.c \
+ panel-plug-private.h
+endif
+
libmate_panel_applet_4_la_LIBADD = \
$(LIBMATE_PANEL_APPLET_LIBS) \
$(X_LIBS)