mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Merge pull request #6117 from konodin/generic-curl-linking
Link Curl the same for all UNIX oses
This commit is contained in:
18
vendor/curl/curl.odin
vendored
18
vendor/curl/curl.odin
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user