[pango/pango2-windows: 215/222] build: Move DirectWrite things a bit
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2-windows: 215/222] build: Move DirectWrite things a bit
- Date: Thu, 9 Jun 2022 03:20:16 +0000 (UTC)
commit b38446dbd1f2b458c95121a72e0e552e6a4b7efb
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Jun 9 10:53:45 2022 +0800
build: Move DirectWrite things a bit
We ought to be building the DirectWrite items even if we are not building the
Cairo items, so move things around.
pango/meson.build | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/pango/meson.build b/pango/meson.build
index d2938045..04f15b0e 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -112,12 +112,6 @@ if cairo_dep.found()
'pangocairo-render.c',
]
- if pango_font_backends.contains('win32')
- pango_sources += [
- 'pangodwrite-hbfontmap.cpp',
- ]
- endif
-
if pango_font_backends.contains('quartz')
pango_sources += [
'pangocoretext-hbfontmap.c',
@@ -149,6 +143,10 @@ if host_system == 'windows'
'pangodwrite-hbfontmap.h',
]
+ pango_sources += [
+ 'pangodwrite-hbfontmap.cpp',
+ ]
+
pango_deps += [
cc.find_library('gdi32'),
cc.find_library('dwrite'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]