summaryrefslogtreecommitdiff
path: root/www/llhttp/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'www/llhttp/files/patch-CMakeLists.txt')
-rw-r--r--www/llhttp/files/patch-CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/llhttp/files/patch-CMakeLists.txt b/www/llhttp/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..407e602780c2
--- /dev/null
+++ b/www/llhttp/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+--- 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)