vcpkg/ports/fontconfig/fix-mingw-gperf-fallback.patch
Kai Pastor d3197c9ada
[fontconfig] Fix mingw build (#25389)
* Fix mingw build

* Update versions
2022-06-23 13:50:31 -07:00

14 lines
422 B
Diff

diff --git a/meson.build b/meson.build
index e5096bf..51c289f 100644
--- a/meson.build
+++ b/meson.build
@@ -268,7 +268,7 @@ sh = find_program('sh', required : false)
if not sh.found() # host_machine.system() == 'windows' or not sh.found()
# TODO: This is not always correct
- if cc.get_id() == 'msvc'
+ if host_machine.system() == 'windows'
gperf_len_type = 'size_t'
else
gperf_len_type = 'unsigned'