aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/harfbuzz/fix-win32-build.patch
blob: 0f159175d955017351a2731e3cf16e0ec1c6258d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/meson.build b/src/meson.build
index 87e8962..bdfa797 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -387,6 +387,11 @@ hb_subset_sources = files(
   'hb-subset.hh',
 )
 
+extra_hb_cpp_args = []
+if cpp.get_argument_syntax() == 'msvc'
+  extra_hb_cpp_args += ['/bigobj']
+endif
+
 hb_subset_headers = files(
   'hb-subset.h',
   'hb-subset-serialize.h'