mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
6e5edabf65
* [harfbuzz] Fix build error * version
27 lines
661 B
Diff
27 lines
661 B
Diff
diff --git a/src/meson.build b/src/meson.build
|
|
index e336037..35af00e 100644
|
|
--- a/src/meson.build
|
|
+++ b/src/meson.build
|
|
@@ -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]
|
|
|
|
version = '0.@0@.0'.format(hb_version_int)
|
|
|
|
-extra_hb_cpp_args = []
|
|
-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
|