In simple, when cross-compiling the bin/mariadb_config binary file format is target based and as such will not necessarily run on the host where cross-compiling occurs (ex: a cross-compiled armv7 binary target will not run on the x86_64 host).
I was trying to find out documentation similar to the mysqlclient==2.1.0 python wheel where I can pass in parameter the lib & include directories (MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS making it able to find its dependencies and build properly).
Is there anything similar? I might just have overlooked documentation. Thnx in advance.