aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2010-10-06 10:58:49 -0400
committerMichael Terry <mike@mterry.name>2010-10-06 10:58:49 -0400
commitecc6acd2a576fcc11d51ded532f570fb29ab475e (patch)
tree8e754c760d81b0717b36a47942373762e1843ad5 /tools
parent923a1d5b25bbc33513984d413acdad9a5d446ab9 (diff)
downloadlibayatana-indicator-ecc6acd2a576fcc11d51ded532f570fb29ab475e.tar.gz
libayatana-indicator-ecc6acd2a576fcc11d51ded532f570fb29ab475e.tar.bz2
libayatana-indicator-ecc6acd2a576fcc11d51ded532f570fb29ab475e.zip
instead of always building gtk2 and gtk3, add a --with-gtk= flag to configure to specify which to build with
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 5e5ef8d..d2964f9 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,3 +1,8 @@
+if USE_GTK3
+INDICATOR_LIB = -lindicator3
+else
+INDICATOR_LIB = -lindicator
+endif
libexec_PROGRAMS = \
indicator-loader
@@ -17,5 +22,5 @@ indicator_loader_CFLAGS = \
indicator_loader_LDADD = \
$(LIBINDICATOR_LIBS) \
-L$(top_builddir)/libindicator/.libs \
- -lindicator
+ $(INDICATOR_LIB)