Merge pull request #6117 from konodin/generic-curl-linking

Link Curl the same for all UNIX oses
This commit is contained in:
gingerBill
2026-01-09 11:57:15 +00:00
committed by GitHub

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