vcpkg/ports/libmariadb/vcpkg.json
Lily Wang 4e73d1b47a
[libmariadb] Fix build error on Linux (#26704)
* [libmariadb] Fix build error on Linux

* x-add-version

* Revert ci.baseline.txt

* fix CMake export

* change ci.baseline.txt to open test libmariadb

* x-add-version

* Revert ci.baseline.txt

* remove CMAKE_SHARED_LIBRARY_C_FLAGS

* x-add-version
2022-09-12 13:50:09 -07:00

69 lines
1.5 KiB
JSON

{
"name": "libmariadb",
"version-semver": "3.3.1",
"port-version": 1,
"description": "MariaDB Connector/C is used to connect C/C++ applications to MariaDB and MySQL databases",
"homepage": "https://github.com/MariaDB/mariadb-connector-c",
"license": "LGPL-2.1-or-later",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"default-features": [
"ssl"
],
"features": {
"iconv": {
"description": "Enables character set conversion",
"dependencies": [
"libiconv"
]
},
"mariadbclient": {
"description": "Build the static mariadbclient library"
},
"openssl": {
"description": "SSL support (OpenSSL)",
"dependencies": [
"openssl"
]
},
"schannel": {
"description": "SSL support (Secure Channel)",
"supports": "windows | mingw"
},
"ssl": {
"description": "Default SSL backend",
"dependencies": [
{
"name": "libmariadb",
"default-features": false,
"features": [
"schannel"
],
"platform": "windows | mingw"
},
{
"name": "libmariadb",
"default-features": false,
"features": [
"openssl"
],
"platform": "!windows & !mingw"
}
]
},
"zlib": {
"description": "Obsolete. zlib is always used. This feature is left for compatibility."
}
}
}