Skip to content

Commit 911762c

Browse files
committed
icu.patch: linking with libc++ in windows debug build
1 parent 90d2c43 commit 911762c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

patch/patches/icu.patch

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/icu.gyp b/icu.gyp
2-
index 374f6293..6e1f1de1 100644
2+
index bc88d8b7..92ad8641 100644
33
--- icu.gyp
44
+++ icu.gyp
5-
@@ -41,6 +41,13 @@
5+
@@ -43,12 +43,22 @@
66
'defines': [
77
'UCHAR_TYPE=wchar_t',
88
],
@@ -16,3 +16,12 @@ index 374f6293..6e1f1de1 100644
1616
'cflags': [ '/utf-8' ],
1717
},{
1818
'defines': [
19+
'UCHAR_TYPE=uint16_t',
20+
],
21+
}],
22+
+ ['OS=="win" and component == "shared_library"', {
23+
+ 'libraries': ['<(PRODUCT_DIR)/../nw/libc++.dll.lib'],
24+
+ }],
25+
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
26+
or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
27+
(target_arch=="arm" or target_arch=="ia32" or \

0 commit comments

Comments
 (0)