aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/curl
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2024-04-28 16:38:56 +1000
committerfuzzard <fuzzard@kodi.tv>2024-05-09 09:09:47 +1000
commit030e62a663ecf1d92e6eab160fd18fd332a1c43d (patch)
treee404c02c5de5014b7b239f1d17008194ee597dae /tools/depends/target/curl
parentb646390be50fa356cd19f39f0c12668a37995e4a (diff)
[cmake][modules] FindCurl enable building internal
Diffstat (limited to 'tools/depends/target/curl')
-rw-r--r--tools/depends/target/curl/01-win-nghttp2-add-name.patch11
-rw-r--r--tools/depends/target/curl/CURL-VERSION1
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/curl/01-win-nghttp2-add-name.patch b/tools/depends/target/curl/01-win-nghttp2-add-name.patch
new file mode 100644
index 0000000000..e07843010a
--- /dev/null
+++ b/tools/depends/target/curl/01-win-nghttp2-add-name.patch
@@ -0,0 +1,11 @@
+--- a/CMake/FindNGHTTP2.cmake
++++ b/CMake/FindNGHTTP2.cmake
+@@ -25,7 +25,7 @@
+
+ find_path(NGHTTP2_INCLUDE_DIR "nghttp2/nghttp2.h")
+
+-find_library(NGHTTP2_LIBRARY NAMES nghttp2)
++find_library(NGHTTP2_LIBRARY NAMES nghttp2 nghttp2_static)
+
+ find_package_handle_standard_args(NGHTTP2
+ FOUND_VAR
diff --git a/tools/depends/target/curl/CURL-VERSION b/tools/depends/target/curl/CURL-VERSION
index 017b222e75..f9a42c2939 100644
--- a/tools/depends/target/curl/CURL-VERSION
+++ b/tools/depends/target/curl/CURL-VERSION
@@ -3,3 +3,4 @@ VERSION=8.7.1
ARCHIVE=$(LIBNAME)-$(VERSION).tar.xz
SHA512=5bbde9d5648e9226f5490fa951690aaf159149345f3a315df2ba58b2468f3e59ca32e8a49734338afc861803a4f81caac6d642a4699b72c6310ebfb1f618aad2
BYPRODUCT=libcurl.a
+BYPRODUCT_WIN=libcurl.lib