The asynchronous API of libmariadb uses cooperative multi threading
by using the system calls
* makecontext
* swapcontext
* getcontext
* setcontext
of the ucontext.h C-API.
Thus additionally link libmariadb to libucontext which is a library
providing these system calls on platforms not supporting them out of
the box - like musl based platforms.
Signed-off-by: Volker Christian <me@vchrist.at>
The official download mirror does not host 3.1.12 anymore. Update to
newest version to solve the issue.
Signed-off-by: Nick Hainke <vincent@systemli.org>
This patch fixes the compilation issue of the upstream Cmake file.
If this patch is not applied we get the following compilation error output.
CMake Error at cmake/ConnectorName.cmake:30 (ENDMACRO):
Flow control statements are not properly nested.
Call Stack (most recent call first):
CMakeLists.txt:423 (INCLUDE)
The blamed cmake/ConnectorName.cmake file gets fixed with this patch.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This way when only wanting the library nobody needs to download and
compile the server package, saving space and time. Also this way we can
avoid sudden SONAME bumps during a server upgrade.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>