mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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>
(cherry picked from commit 6748f95168)