From 39e442c95316c97c8eae7e2beae3fe373de53177 Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Sun, 12 Feb 2023 19:29:54 +0100 Subject: [PATCH] Restrict curl --- deps/premake/curl.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/deps/premake/curl.lua b/deps/premake/curl.lua index 8db164e1..d4ef2684 100644 --- a/deps/premake/curl.lua +++ b/deps/premake/curl.lua @@ -21,7 +21,20 @@ filter "toolset:msc*" defines { "CURL_STRICTER", "CURL_STATICLIB", + "CURL_DISABLE_DICT", + "CURL_DISABLE_FILE", "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 {} end @@ -70,4 +83,4 @@ function curl.project() kind "StaticLib" end -table.insert(dependencies, curl) \ No newline at end of file +table.insert(dependencies, curl)