summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2012-08-05 18:54:30 (GMT)
committerQuentin Glidic <sardemff7+git@sardemff7.net>2012-08-13 09:39:30 (GMT)
commitf06161b58a20dc2c3cdeca849dd3cd4dca20e812 (patch)
tree057c45eb1f8904171ab0e65bc67300327d73f309
parentec17a26b0e858ca888319da6c7cdddd634a599eb (diff)
downloadi3-f06161b58a20dc2c3cdeca849dd3cd4dca20e812.tar.gz
i3-f06161b58a20dc2c3cdeca849dd3cd4dca20e812.tar.bz2
common.mk: Check for Pango
-rw-r--r--common.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index a6d6c4e..989ed5e 100644
--- a/common.mk
+++ b/common.mk
@@ -135,6 +135,13 @@ PCRE_LIBS := $(call ldflags_for_lib, libpcre,pcre)
LIBSN_CFLAGS := $(call cflags_for_lib, libstartup-notification-1.0)
LIBSN_LIBS := $(call ldflags_for_lib, libstartup-notification-1.0,startup-notification-1)
+# Pango
+PANGO_CFLAGS := $(call cflags_for_lib, cairo)
+PANGO_CFLAGS += $(call cflags_for_lib, pangocairo)
+I3_CPPFLAGS += -DPANGO_SUPPORT=1
+PANGO_LIBS := $(call ldflags_for_lib, cairo)
+PANGO_LIBS += $(call ldflags_for_lib, pangocairo)
+
# libi3
LIBS = -L$(TOPDIR) -li3