diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-18 01:48:00 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-18 01:48:00 +0000 |
commit | d616f88dbb6dd5360eebf8ab42884fb90583218b (patch) | |
tree | 0899bc99cd277dadd16e67c1456bd665a69b5cb6 /meson.build | |
parent | 34d2d850efdfcdea532203be375f9dd7020d65fa (diff) | |
parent | 22127fbb230b655ce493b497c2db6548f4552a0f (diff) | |
download | pango-d616f88dbb6dd5360eebf8ab42884fb90583218b.tar.gz |
Merge branch 'fix-707' into 'main'
Windows: Fix builds using HarfBuzz as subproject
Closes #707
See merge request GNOME/pango!649
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/meson.build b/meson.build index d2a201f6..723e0c22 100644 --- a/meson.build +++ b/meson.build @@ -251,24 +251,6 @@ harfbuzz_dep = dependency('harfbuzz', fallback: ['harfbuzz', 'libharfbuzz_dep'], default_options: ['coretext=enabled']) -if host_system == 'windows' - if cpp.has_header_symbol( - 'hb-directwrite.h', - 'hb_directwrite_face_create', - dependencies: harfbuzz_dep, - prefix: '#include <dwrite.h>', - ) - pango_conf.set('HAVE_HARFBUZZ_DIRECT_WRITE', 1) - endif - if cc.has_header_symbol( - 'hb-gdi.h', - 'hb_gdi_face_create', - dependencies: harfbuzz_dep, - ) - pango_conf.set('HAVE_HARFBUZZ_GDI', 1) - endif -endif - pango_deps += harfbuzz_dep # If option is 'auto' or 'enabled' it is not required to find fontconfig on the |