Skip to content

Commit 23e1bda

Browse files
wmwwraveit65
authored andcommitted
libmate-panel-applet: Stop X11 specific files from building on Wayland
1 parent 793cc25 commit 23e1bda

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎libmate-panel-applet/Makefile.am‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ libmate_panel_applet_4_la_SOURCES = \
2323
mate-panel-applet-factory.c \
2424
mate-panel-applet-gsettings.c \
2525
mate-panel-applet-gsettings.h \
26-
panel-plug.c \
27-
panel-plug-private.h \
2826
panel-applet-private.h
2927

28+
if ENABLE_X11
29+
libmate_panel_applet_4_la_SOURCES += \
30+
panel-plug.c \
31+
panel-plug-private.h
32+
endif
33+
3034
libmate_panel_applet_4_la_LIBADD = \
3135
$(LIBMATE_PANEL_APPLET_LIBS) \
3236
$(X_LIBS)

0 commit comments

Comments
 (0)