[gtk/fix-build-no-pangoft: 36/36] meson.build: Don't apply iso-codes cflag on Windows
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/fix-build-no-pangoft: 36/36] meson.build: Don't apply iso-codes cflag on Windows
- Date: Mon, 10 Jan 2022 07:07:37 +0000 (UTC)
commit f6b880aa4283ccd6617515c1015a0dc3b8a1285d
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Jan 10 15:04:57 2022 +0800
meson.build: Don't apply iso-codes cflag on Windows
They are no longer applicable for Windows builds.
meson.build | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index f47c164bf0..23c72928ee 100644
--- a/meson.build
+++ b/meson.build
@@ -455,10 +455,12 @@ cdata.set('HAVE_TRACKER3', tracker3_dep.found())
colord_dep = dependency('colord', version: '>= 0.1.9', required: get_option('colord'))
cdata.set('HAVE_COLORD', colord_dep.found())
-if iso_codes_dep.found()
- cdata.set_quoted('ISO_CODES_PREFIX', iso_codes_dep.get_variable(pkgconfig: 'prefix'))
-else
- cdata.set_quoted('ISO_CODES_PREFIX', '/usr')
+if not os_win32
+ if iso_codes_dep.found()
+ cdata.set_quoted('ISO_CODES_PREFIX', iso_codes_dep.get_variable(pkgconfig: 'prefix'))
+ else
+ cdata.set_quoted('ISO_CODES_PREFIX', '/usr')
+ endif
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]