Merge pull request #91 from Edremon/fix/linux

Fix building on Linux
This commit is contained in:
Detanup01 2024-11-22 23:36:59 +01:00 committed by GitHub
commit 66cb8e8444
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -632,6 +632,7 @@ if _OPTIONS["build-curl"] or _OPTIONS["all-build"] then
"CURL_USE_LIBPSL=OFF", "CURL_USE_LIBPSL=OFF",
"USE_LIBIDN2=OFF", "USE_LIBIDN2=OFF",
"CURL_DISABLE_LDAP=ON", "CURL_DISABLE_LDAP=ON",
"USE_NGHTTP2=OFF",
} }
if os.target() == 'windows' and string.match(_ACTION, 'vs.+') then if os.target() == 'windows' and string.match(_ACTION, 'vs.+') then
table.insert(curl_common_defs, "CURL_STATIC_CRT=ON") table.insert(curl_common_defs, "CURL_STATIC_CRT=ON")