From 217aa88c0f53775abe472f10a16cd48769d7befe Mon Sep 17 00:00:00 2001 From: William Wold Date: Fri, 2 Oct 2020 14:59:32 -0700 Subject: Link with libwayland --- applets/wncklet/Makefile.am | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'applets') 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 -- cgit v1.2.1