From: Chun-wei Fan Date: Mon, 10 Jan 2022 07:04:57 +0000 (+0800) Subject: meson.build: Don't apply iso-codes cflag on Windows X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~4^2~90^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=629dcd3dcfb39149cfd0dc162fb233eef572dd65;p=gtk4.git meson.build: Don't apply iso-codes cflag on Windows They are no longer applicable for Windows builds. --- diff --git a/meson.build b/meson.build index 90619713d5..a40473c12a 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