vcpkg/ports/harfbuzz/fix-mingw-build.patch
Kai Pastor 0495716066
[harfbuzz] Fix mingw (#24206)
* Fix mingw build

* Update versions

* fix license

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-04-19 06:59:53 -07:00

18 lines
433 B
Diff

diff --git a/meson.build b/meson.build
index 41344b3a33..8fb68f296a 100644
--- a/meson.build
+++ b/meson.build
@@ -57,6 +57,12 @@ if host_machine.cpu_family() == 'arm' and cpp.alignment('struct { char c; }') !=
endif
endif
+if host_machine.system() == 'windows'
+ add_project_arguments(cpp.get_supported_arguments([
+ '-Wa,-mbig-obj'
+ ]), language : 'cpp')
+endif
+
check_headers = [
['unistd.h'],
['sys/mman.h'],