Link Curl the same for all UNIX oses

This commit is contained in:
konodin
2026-01-08 23:07:01 +01:00
parent f9d9166ff1
commit 9b5090352e

18
vendor/curl/curl.odin vendored
View File

@@ -14,15 +14,6 @@ when ODIN_OS == .Windows {
"system:Ws2_32.lib",
"system:iphlpapi.lib",
}
} else when ODIN_OS == .Linux {
@(export)
foreign import lib {
"system:curl",
"system:mbedtls",
"system:mbedx509",
"system:mbedcrypto",
"system:z",
}
} else when ODIN_OS == .Darwin {
@(export)
foreign import lib {
@@ -32,6 +23,15 @@ when ODIN_OS == .Windows {
"system:z",
"system:SystemConfiguration.framework",
}
} else {
@(export)
foreign import lib {
"system:curl",
"system:mbedtls",
"system:mbedx509",
"system:mbedcrypto",
"system:z",
}
}
off_t :: i64