Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
fix windows build for icu
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed Dec 20, 2016
1 parent c728b91 commit bc050cb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build/node/v8.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
'v8_libraries': '["v8", "v8_snapshot", "v8_nosnapshot", "v8_external_snapshot", "v8_base", "v8_libbase", "v8_libplatform"]',
'v8_use_snapshot': 'true',
'v8_use_external_startup_data': 1,
'icu_libraries': '["icui18n", "icuuc"]',
},
'target_defaults': {
'msvs_disabled_warnings': [
Expand All @@ -37,14 +38,14 @@
# Use C++11 library.
'CLANG_CXX_LIBRARY': 'libc++', # -stdlib=libc++
},
'defines!': [
'U_STATIC_IMPLEMENTATION',
],
'target_conditions': [
['_type=="static_library" and _toolset=="target" and OS=="linux"', {
'standalone_static_library': 1,
}],
['_target_name in <(v8_libraries)', {
['_target_name in <(icu_libraries)', {
'type': 'static_library',
}],
['_target_name in <(v8_libraries) + <(icu_libraries)', {
'xcode_settings': {
'DEAD_CODE_STRIPPING': 'NO', # -Wl,-dead_strip
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO',
Expand Down

0 comments on commit bc050cb

Please sign in to comment.