nodejs: enable use-prefix-to-find-headers (#539228)

This commit is contained in:
Antoine du Hamel
2026-07-09 07:55:59 +00:00
committed by GitHub

View File

@@ -331,6 +331,7 @@ let
]
++ lib.optional useSharedTemporal "--v8-enable-temporal-support"
++ lib.optionals (lib.versionOlder version "19") [ "--without-dtrace" ]
++ lib.optionals (lib.versionAtLeast version "22") [ "--use-prefix-to-find-headers" ]
++ lib.concatMap (name: [
"--shared-${name}"
"--shared-${name}-libpath=${lib.getLib sharedLibDeps.${name}}/lib"