The commit message "update libmariadb, and fix debian packaging for client libs" is void of all useful information. It does not state why you did something and what the problem was it fixes or what it attempts to do. There is no comments embedded into the code itself either. So if is difficult to review if your changes were correct or not when there is no messages of intention. The git subject just states the obivious that is already visible in the diff.
The bug report does not either have any context, link to an actually failing build etc so it is hard to debug with this as a starting point. Please provide more information.
possibly a consequence of https://github.com/MariaDB/server/commit/9b10b4181f70634c9fab96ff0a225147b64396d7
I freely admit not understand what I'm doing, but the build error was gone with this change