2022-07-26 02:45:46 +08:00
|
|
|
diff --git a/src/meson.build b/src/meson.build
|
2022-08-10 04:33:30 +08:00
|
|
|
index e336037..35af00e 100644
|
2022-07-26 02:45:46 +08:00
|
|
|
--- a/src/meson.build
|
|
|
|
+++ b/src/meson.build
|
2022-08-10 04:33:30 +08:00
|
|
|
@@ -349,6 +349,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-repacker.h'
|
|
|
|
@@ -472,8 +477,7 @@ defs_list = [harfbuzz_def]
|
|
|
|
|
2022-07-26 02:45:46 +08:00
|
|
|
version = '0.@0@.0'.format(hb_version_int)
|
|
|
|
|
2022-08-10 04:33:30 +08:00
|
|
|
-extra_hb_cpp_args = []
|
2022-07-26 02:45:46 +08:00
|
|
|
-if cpp.get_id() == 'msvc'
|
|
|
|
+if cpp.get_argument_syntax() == 'msvc'
|
|
|
|
if get_option('default_library') != 'static'
|
|
|
|
extra_hb_cpp_args += '-DHB_DLL_EXPORT'
|
|
|
|
endif
|