VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index e8cc2d68..2efcd98b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -95,6 +95,15 @@ ifeq "$(origin WXSTATIC)" "command line"
endif
endif
+ifeq "$(origin INDICATOR)" "command line"
+ ifneq (,$(findstring gtk3,$(shell $(WX_CONFIG) --selected-config)))
+ INDICATOR_LIBRARY=ayatana-appindicator3-0.1
+ else
+ INDICATOR_LIBRARY=ayatana-appindicator-0.1
+ endif
+ export LIBS += $(shell pkg-config --libs $(INDICATOR_LIBRARY))
+ C_CXX_FLAGS += $(shell pkg-config --cflags $(INDICATOR_LIBRARY)) -DHAVE_INDICATORS
+endif
#------ Release configuration ------