pkgsStatic.llhttp: fix building static archives

The cmake options were changed in https://github.com/nodejs/llhttp/commit/b671ac107bd09b1415095aa3dbe34a2f9cb80ad3.
This should unbreak `nixStatic`.
This commit is contained in:
Tobias Mayer
2026-03-17 15:16:09 +01:00
parent 8f37fcd1d2
commit ba03f57c17
+2 -2
View File
@@ -31,8 +31,8 @@ stdenv.mkDerivation (finalAttrs: {
];
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
(lib.cmakeBool "BUILD_STATIC_LIBS" stdenv.hostPlatform.isStatic)
(lib.cmakeBool "LLHTTP_BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
(lib.cmakeBool "LLHTTP_BUILD_STATIC_LIBS" stdenv.hostPlatform.isStatic)
];
passthru.updateScript = nix-update-script {