Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 99bb8c2

Browse files
codebyterekhalwa
authored andcommitted
chore: use nghttp2's config.h on all platforms (electron#35449)
nodejs/node#27283
1 parent e017aa6 commit 99bb8c2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

patches/node/build_add_gn_build_files.patch

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -709,10 +709,10 @@ index 0000000000000000000000000000000000000000..fb000f8ee7647c375bc190d1729d67bb
709709
+}
710710
diff --git a/deps/nghttp2/BUILD.gn b/deps/nghttp2/BUILD.gn
711711
new file mode 100644
712-
index 0000000000000000000000000000000000000000..8bfecba74d4d90e9fbf0e2cd301118e4adc6cba8
712+
index 0000000000000000000000000000000000000000..9abde472d88923db835b12982b7f2ccb1f260196
713713
--- /dev/null
714714
+++ b/deps/nghttp2/BUILD.gn
715-
@@ -0,0 +1,49 @@
715+
@@ -0,0 +1,47 @@
716716
+config("nghttp2_config") {
717717
+ defines = [ "NGHTTP2_STATICLIB" ]
718718
+ include_dirs = [ "lib/includes" ]
@@ -723,11 +723,9 @@ index 0000000000000000000000000000000000000000..8bfecba74d4d90e9fbf0e2cd301118e4
723723
+ "_U_",
724724
+ "BUILDING_NGHTTP2",
725725
+ "NGHTTP2_STATICLIB",
726+
+ "HAVE_CONFIG_H",
726727
+ ]
727728
+ include_dirs = [ "lib/includes" ]
728-
+ if (is_win) {
729-
+ defines += [ "HAVE_CONFIG_H" ]
730-
+ }
731729
+
732730
+ cflags_c = [
733731
+ "-Wno-implicit-function-declaration",

0 commit comments

Comments
 (0)