Skip to content

Commit 840792c

Browse files
System Administratornoresources
authored andcommitted
Add --no-darwinssl option
1 parent 27c3ece commit 840792c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

contrib/curl/premake5.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ project "curl-lib"
2525
filter { "system:macosx" }
2626
defines { "USE_SECTRANSP" }
2727

28+
filter { "system:macosx", "options:not no-darwinssl" }
29+
defines { "USE_DARWINSSL" }
30+
2831
filter { "system:not windows", "system:not macosx" }
2932
defines { "USE_MBEDTLS" }
3033

premake5.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ newoption {
129129
_OPTIONS["zlib-src"] = "none"
130130
end
131131

132+
newoption {
133+
trigger = "no-darwinssl",
134+
description = "Disable DarwinSSL support in curl"
135+
}
136+
132137
newoption {
133138
trigger = "no-luasocket",
134139
description = "Disable Luasocket 3rd party lib"

0 commit comments

Comments
 (0)