Skip to content

Commit 17d52f1

Browse files
committed
fixup! [patches] add buildtools.patch to link Node with libc++
1 parent c544ece commit 17d52f1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

patch/patches/buildtools.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,16 @@ index 6cd5a55..8ea6885 100644
1515
} else {
1616
link_target_type = "shared_library"
1717
}
18+
diff --git a/third_party/libc++abi/BUILD.gn b/third_party/libc++abi/BUILD.gn
19+
index 50dc8ae..e521055 100644
20+
--- third_party/libc++abi/BUILD.gn
21+
+++ third_party/libc++abi/BUILD.gn
22+
@@ -7,7 +7,7 @@ import("//build/config/c++/c++.gni")
23+
# TODO(thomasanderson): Remove this conditional once Android builds always set
24+
# use_custom_libcxx=true.
25+
if (use_custom_libcxx) {
26+
- source_set("libc++abi") {
27+
+ static_library("libc++abi") {
28+
visibility = [ "//buildtools/third_party/libc++" ]
29+
deps = []
30+

0 commit comments

Comments
 (0)