File: llhttp-defaults.patch

package info (click to toggle)
nodejs 22.21.1%2Bdfsg%2B~cs22.19.0-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 251,924 kB
  • sloc: cpp: 1,542,927; javascript: 597,777; ansic: 114,330; python: 60,784; sh: 4,155; makefile: 2,914; asm: 1,750; pascal: 1,565; perl: 248; lisp: 222; xml: 42
file content (32 lines) | stat: -rw-r--r-- 1,121 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From ff3a028f8bf88da70dc79e1d7b7947a8d5a8548a Mon Sep 17 00:00:00 2001
From: Antoine du Hamel <duhamelantoine1995@gmail.com>
Date: Fri, 16 May 2025 14:55:50 +0200
Subject: [PATCH] build: fix defaults for shared llhttp

PR-URL: https://github.com/nodejs/node/pull/58269
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
---
 configure.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/configure.py
+++ b/configure.py
@@ -293,7 +293,7 @@
 shared_optgroup.add_argument('--shared-http-parser-libname',
     action='store',
     dest='shared_http_parser_libname',
-    default='http_parser',
+    default='llhttp',
     help='alternative lib name to link to [default: %(default)s]')
 
 shared_optgroup.add_argument('--shared-http-parser-libpath',
@@ -2321,7 +2321,7 @@
 configure_napi(output)
 configure_debian(output)
 configure_library('zlib', output)
-configure_library('http_parser', output)
+configure_library('http_parser', output, pkgname='libllhttp')
 configure_library('libuv', output)
 configure_library('ada', output)
 configure_library('simdjson', output)