Fixed build issues
This commit is contained in:
parent
2fa0b3d33e
commit
334b39ef1e
3 changed files with 12 additions and 1 deletions
|
@ -59,6 +59,10 @@ void ReferenceSymbols() {
|
|||
icu::DateIntervalFormat::createInstance(UnicodeString(),
|
||||
icu::Locale::getRoot(), status);
|
||||
reinterpret_cast<icu::Transliterator*>(nullptr)->clone();
|
||||
UParseError parse_error;
|
||||
icu::Transliterator::createFromRules(UnicodeString(), UnicodeString(),
|
||||
UTRANS_FORWARD, parse_error,
|
||||
status);
|
||||
}
|
||||
|
||||
} // namespace node
|
||||
|
|
|
@ -140,6 +140,12 @@
|
|||
'<(libchromiumcontent_src_dir)/v8',
|
||||
'<(libchromiumcontent_src_dir)/v8/include',
|
||||
],
|
||||
'defines': [
|
||||
# Export V8 symbols from node.dll / libnode.so
|
||||
'BUILDING_V8_SHARED',
|
||||
'BUILDING_V8_PLATFORM_SHARED',
|
||||
'BUILDING_V8_BASE_SHARED',
|
||||
],
|
||||
'conditions': [
|
||||
['OS=="mac" and libchromiumcontent_component==0', {
|
||||
# -all_load is the "whole-archive" on macOS.
|
||||
|
|
|
@ -241,7 +241,8 @@
|
|||
'GLIB_DISABLE_DEPRECATION_WARNINGS',
|
||||
# Defined in Chromium but not exposed in its gyp file.
|
||||
'V8_USE_EXTERNAL_STARTUP_DATA',
|
||||
'V8_SHARED',
|
||||
|
||||
# Import V8 symbols from shared library (node.dll / libnode.so)
|
||||
'USING_V8_SHARED',
|
||||
'USING_V8_PLATFORM_SHARED',
|
||||
'USING_V8_BASE_SHARED',
|
||||
|
|
Loading…
Reference in a new issue