Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f00f326

Browse filesBrowse files
srl295jasnell
authored andcommitted
build: intl: avoid 'duplicate main()' on ICU 56
* Exclude `derb.cpp` as well as `derb.c` from Node builds (file was renamed in ICU 56) ICU 56 renamed derb.c to derb.cpp because of C++ yay. This broke the exclusion of "derb.c" when building tools. Solution is to add derb.c AND derb.cpp to exclusion. We don't build the 'derb' tool, so it's fine to list the excluded source twice. Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: #3066 Fixes: #3065
1 parent 725c727 commit f00f326
Copy full SHA for f00f326

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Collapse file

‎tools/icu/icu-generic.gyp‎

Copy file name to clipboardExpand all lines: tools/icu/icu-generic.gyp
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77

88
{
99
'variables': {
10-
'icu_src_derb': [ '../../deps/icu/source/tools/genrb/derb.c' ],
10+
'icu_src_derb': [
11+
'../../deps/icu/source/tools/genrb/derb.c',
12+
'../../deps/icu/source/tools/genrb/derb.cpp'
13+
],
1114
},
1215
'includes': [ '../../icu_config.gypi' ],
1316
'targets': [

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.