]> git.sur5r.net Git - i3/i3/commitdiff
common.mk: Check for Pango
authorQuentin Glidic <sardemff7+git@sardemff7.net>
Sun, 5 Aug 2012 18:54:30 +0000 (20:54 +0200)
committerQuentin Glidic <sardemff7+git@sardemff7.net>
Mon, 13 Aug 2012 09:39:30 +0000 (11:39 +0200)
common.mk

index a6d6c4e3f23fc30eb38e105cbdfbfc68523424e0..989ed5ea81c0800000bad75348be20bfdb9892d5 100644 (file)
--- 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