libmariadb: Fix async api by linking to libucontext
authorVolker Christian <redacted>
Sat, 16 Sep 2023 09:31:50 +0000 (11:31 +0200)
committerRosen Penev <redacted>
Sun, 24 Sep 2023 01:46:01 +0000 (18:46 -0700)
commit6748f95168660792a2162d8d35ce1ecf85f2d865
tree6031936135d8cf6d88c53cbc4fa864a14ec5b557
parent7528bf76821eb9234d4665752371c85496ca5b89
libmariadb: Fix async api by linking to libucontext

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 <redacted>
libs/libmariadb/Makefile
libs/libmariadb/patches/010-link-to-libucontext.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT