From c6f93fed5898bb2c3d084a6c0d153275063a059b Mon Sep 17 00:00:00 2001 From: Alexander Schlarb Date: Thu, 12 Dec 2019 11:53:48 +0100 Subject: Make building of `ayatana-indicator-loader3` optional --- tools/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools/Makefile.am') diff --git a/tools/Makefile.am b/tools/Makefile.am index 4aa3cfc..6f85429 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,8 +1,10 @@ +if USE_IDO if USE_GTK3 INDICATOR_LIB = -layatana-indicator3 libexec_PROGRAMS = ayatana-indicator-loader3 VER=3 endif +endif ############################# @@ -14,11 +16,13 @@ ayatana_indicator_loader_SOURCES = \ ayatana_indicator_loader_CFLAGS = \ -Wall -Werror \ - $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \ + $(LIBINDICATOR_CFLAGS) \ + $(LIBINDICATOR_IDO_CFLAGS) -I$(top_srcdir) \ -DBUILD_DIR="\"$(builddir)\"" ayatana_indicator_loader_LDADD = \ $(LIBINDICATOR_LIBS) \ + $(LIBINDICATOR_IDO_LIBS) \ -L$(top_builddir)/libayatana-indicator/.libs \ $(INDICATOR_LIB) -- cgit v1.2.3