mirror of
https://github.com/HerculesWS/Hercules
synced 2026-08-15 12:23:13 -04:00
Change SSL library used for mariadb to default to schannel on windows
and openssl on other platforms Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
This commit is contained in:
parent
f6f35f4652
commit
072edfbdc2
1 changed files with 5 additions and 1 deletions
|
|
@ -15,10 +15,14 @@ class HerculesRecipe(ConanFile):
|
|||
}
|
||||
|
||||
def requirements(self):
|
||||
ssl_lib = "openssl"
|
||||
if self.settings.os == "Windows":
|
||||
ssl_lib = "schannel"
|
||||
|
||||
if self.options.with_libbacktrace:
|
||||
self.requires("libbacktrace/cci.20240730")
|
||||
self.requires("cjson/1.7.19")
|
||||
self.requires("mariadb-connector-c/3.4.8", options={"shared": True})
|
||||
self.requires("mariadb-connector-c/3.4.8", options={"shared": True, "with_ssl": ssl_lib})
|
||||
self.requires("pcre/8.45")
|
||||
self.requires("zlib/1.3.2")
|
||||
self.requires("giflib/5.2.2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue