summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-panel-applet/Makefile.am')
-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)