summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2019-01-16 06:38:16 -0500
committerraveit65 <[email protected]>2019-01-25 18:52:06 +0100
commit23e1bdab8fff515cdb0adc4ac97a621cf9252844 (patch)
tree640d2bef7d89a28ce27537fd233d1ea2d36fd77e
parent793cc2539f42982c6c745ca6debf9771d1b590aa (diff)
downloadmate-panel-23e1bdab8fff515cdb0adc4ac97a621cf9252844.tar.bz2
mate-panel-23e1bdab8fff515cdb0adc4ac97a621cf9252844.tar.xz
libmate-panel-applet: Stop X11 specific files from building on Wayland
-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)