[pango/pango2: 158/168] Fix Meson configure on Windows
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 158/168] Fix Meson configure on Windows
- Date: Wed, 8 Jun 2022 10:22:21 +0000 (UTC)
commit 4d05c9b932a6e1352253057098e62d06e7b8a553
Author: Luca Bacci <luca bacci982 gmail com>
Date: Thu Mar 10 16:22:19 2022 +0100
Fix Meson configure on Windows
pango/meson.build | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/pango/meson.build b/pango/meson.build
index fec3afe3..0fafbf7f 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -162,14 +162,6 @@ if host_system == 'windows'
pango_deps += [
cc.find_library('gdi32'),
]
-
- pangowin32_rc = configure_file(
- input: 'pangowin32.rc.in',
- output: 'pangowin32.rc',
- configuration: pango_features_conf,
- )
- pangowin32_res = import('windows').compile_resources(pangowin32_rc)
- pango_sources += pangowin32_res
endif
pango_installed_headers = pango_headers + [ 'pango-version-macros.h' ]
@@ -192,6 +184,16 @@ pango_features_h = configure_file(
install_dir: join_paths(pango_includedir, pango_api_path),
)
+if host_system == 'windows'
+ pangowin32_rc = configure_file(
+ input: 'pangowin32.rc.in',
+ output: 'pangowin32.rc',
+ configuration: pango_features_conf,
+ )
+ pangowin32_res = import('windows').compile_resources(pangowin32_rc)
+ pango_sources += pangowin32_res
+endif
+
# Enumerations for GType
pango_enums = gnome.mkenums(
'pango-enum-types',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]