diff --git a/www/llhttp/files/patch-CMakeLists.txt b/www/llhttp/files/patch-CMakeLists.txt index 407e602780c2..116cddcb8794 100644 --- a/www/llhttp/files/patch-CMakeLists.txt +++ b/www/llhttp/files/patch-CMakeLists.txt @@ -1,13 +1,15 @@ +Reference: https://github.com/nodejs/llhttp/commit/1f23986da6337a55682dda268457f2dc27f5900f + --- CMakeLists.txt.orig 2025-05-03 17:04:09 UTC +++ CMakeLists.txt @@ -92,9 +92,7 @@ if(BUILD_STATIC_LIBS) add_library(llhttp_static STATIC ${llhttp_src} ) - if(BUILD_SHARED_LIBS) - add_library(llhttp::llhttp ALIAS llhttp_shared) - else() + if(NOT BUILD_SHARED_LIBS) add_library(llhttp::llhttp ALIAS llhttp_static) endif() config_library(llhttp_static)