summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2020-10-02 14:59:32 -0700
committerraveit65 <[email protected]>2020-10-21 20:35:15 +0200
commit217aa88c0f53775abe472f10a16cd48769d7befe (patch)
tree3d27415d3cdc569018b8f70651c1123a376ae45d /applets
parent9d924d645af59fd73110c710f186670869a7e569 (diff)
downloadmate-panel-217aa88c0f53775abe472f10a16cd48769d7befe.tar.bz2
mate-panel-217aa88c0f53775abe472f10a16cd48769d7befe.tar.xz
Link with libwayland
Diffstat (limited to 'applets')
-rw-r--r--applets/wncklet/Makefile.am17
1 files changed, 9 insertions, 8 deletions
diff --git a/applets/wncklet/Makefile.am b/applets/wncklet/Makefile.am
index 8919ec68..38dfaca5 100644
--- a/applets/wncklet/Makefile.am
+++ b/applets/wncklet/Makefile.am
@@ -23,22 +23,23 @@ WNCKLET_SOURCES = \
showdesktop.h \
$(BUILT_SOURCES)
+WNCKLET_LDADD = \
+ ../../libmate-panel-applet/libmate-panel-applet-4.la \
+ $(WNCKLET_LIBS) \
+ $(LIBMATE_PANEL_APPLET_LIBS)
+
if ENABLE_WAYLAND
WNCKLET_SOURCES += \
wayland-backend.c \
wayland-backend.h \
wayland-protocol/wlr-foreign-toplevel-management-unstable-v1-code.c \
wayland-protocol/wlr-foreign-toplevel-management-unstable-v1-client.h
-endif
-WNCKLET_LDADD = \
- ../../libmate-panel-applet/libmate-panel-applet-4.la \
- $(WNCKLET_LIBS) \
- $(LIBMATE_PANEL_APPLET_LIBS)
-
-if ENABLE_WAYLAND
WNCKLET_LDADD += \
- -lwayland-client
+ $(WAYLAND_LIBS)
+
+AM_CPPFLAGS += \
+ $(WAYLAND_CFLAGS)
endif
if WNCKLET_INPROCESS