summaryrefslogtreecommitdiff
path: root/pango/meson.build
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-05-31 11:54:43 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-31 12:07:38 +0100
commit0b86506c7c19e3ef0c6581dfbc04aec769af57c3 (patch)
treee3a4009c4b5fceedc55ed45b5e33578661272285 /pango/meson.build
parentc6d6cfff40ba2e80c2fda7d33d2942a0b4a2d14a (diff)
downloadpango-0b86506c7c19e3ef0c6581dfbc04aec769af57c3.tar.gz
Ignore undefined macros when importing freetype
Recently, freetype added checks for various options and forgot to check all combinations. This breaks building projects including freetype.h and using -Werror=undef.
Diffstat (limited to 'pango/meson.build')
-rw-r--r--pango/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/meson.build b/pango/meson.build
index 93f2e79d..c3c1ad6a 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -82,6 +82,7 @@ pango_enum_h = pango_enums[1]
pango_cflags = [
'-DG_LOG_DOMAIN="Pango"',
'-DG_LOG_USE_STRUCTURED=1',
+ '-DPANGO_COMPILATION',
'-DPANGO_ENABLE_BACKEND',
'-DPANGO_ENABLE_ENGINE',
'-DSYSCONFDIR="@0@"'.format(pango_sysconfdir),