diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-12-04 13:57:47 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-12-04 13:57:47 +0100 |
| commit | 9ac813e5826369bca66804093e2ead5923a4f461 (patch) | |
| tree | 2860581803169c64132aab54f4eba8f0888ae52f | |
| parent | e9d8f90216d97f17acab8bd5e1dfdd8fbe8c3868 (diff) | |
Replace libcurl library on Windows.
This one is built with MSVC instead MingW and doesn't produce link errors.
| -rw-r--r-- | vendor/curl/curl.odin | 9 | ||||
| -rw-r--r-- | vendor/curl/lib/libcurl.lib | bin | 0 -> 2858278 bytes |
2 files changed, 5 insertions, 4 deletions
diff --git a/vendor/curl/curl.odin b/vendor/curl/curl.odin index 0bde5fd95..ff14944b6 100644 --- a/vendor/curl/curl.odin +++ b/vendor/curl/curl.odin @@ -3,15 +3,16 @@ package vendor_curl import c "core:c/libc" when ODIN_OS == .Windows { - @(export, extra_linker_flags="/NODEFAULTLIB:libcmt") + @(export, extra_linker_flags="/NODEFAULTLIB:msvcrt") foreign import lib { - "lib/libcurl_a.lib", + "lib/libcurl.lib", "system:Advapi32.lib", "system:Crypt32.lib", "system:Normaliz.lib", "system:Secur32.lib", "system:Wldap32.lib", "system:Ws2_32.lib", + "system:iphlpapi.lib", } } else when ODIN_OS == .Linux { @(export) @@ -40,11 +41,11 @@ socklen_t :: c.int COPYRIGHT :: "Daniel Stenberg, <daniel@haxx.se>." /* This is the version number of the libcurl package from which this header file origins: */ -VERSION :: "8.15.0" +VERSION :: "8.17.0" /* The numeric version number is also available "in parts" by using these defines: */ VERSION_MAJOR :: 8 -VERSION_MINOR :: 15 +VERSION_MINOR :: 17 VERSION_PATCH :: 0 /* diff --git a/vendor/curl/lib/libcurl.lib b/vendor/curl/lib/libcurl.lib Binary files differnew file mode 100644 index 000000000..65ee6438d --- /dev/null +++ b/vendor/curl/lib/libcurl.lib |