vcpkg/ports/harfbuzz/fix-mingw-build.patch

18 lines
433 B
Diff
Raw Normal View History

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'],