Restrict curl
This commit is contained in:
parent
257a0c33ca
commit
39e442c953
15
deps/premake/curl.lua
vendored
15
deps/premake/curl.lua
vendored
@ -21,7 +21,20 @@ filter "toolset:msc*"
|
|||||||
defines {
|
defines {
|
||||||
"CURL_STRICTER",
|
"CURL_STRICTER",
|
||||||
"CURL_STATICLIB",
|
"CURL_STATICLIB",
|
||||||
|
"CURL_DISABLE_DICT",
|
||||||
|
"CURL_DISABLE_FILE",
|
||||||
"CURL_DISABLE_LDAP",
|
"CURL_DISABLE_LDAP",
|
||||||
|
"CURL_DISABLE_LDAPS",
|
||||||
|
"CURL_DISABLE_FTP",
|
||||||
|
"CURL_DISABLE_GOPHER",
|
||||||
|
"CURL_DISABLE_IMAP",
|
||||||
|
"CURL_DISABLE_MQTT",
|
||||||
|
"CURL_DISABLE_POP3",
|
||||||
|
"CURL_DISABLE_RTSP",
|
||||||
|
"CURL_DISABLE_SMTP",
|
||||||
|
"CURL_DISABLE_SMB",
|
||||||
|
"CURL_DISABLE_TELNET",
|
||||||
|
"CURL_DISABLE_TFTP",
|
||||||
}
|
}
|
||||||
filter {}
|
filter {}
|
||||||
end
|
end
|
||||||
@ -70,4 +83,4 @@ function curl.project()
|
|||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
end
|
end
|
||||||
|
|
||||||
table.insert(dependencies, curl)
|
table.insert(dependencies, curl)
|
||||||
|
Loading…
Reference in New Issue
Block a user