unixODBCDrivers.mariadb: fix cross

Without these variables, it will try to run odbc-config, which the
build platform might not be able to execute.
This commit is contained in:
Alyssa Ross
2023-05-23 01:20:06 +00:00
parent ec873be72f
commit 427dbe5140
@@ -52,6 +52,8 @@
'';
cmakeFlags = [
"-DODBC_LIB_DIR=${lib.getLib unixODBC}/lib"
"-DODBC_INCLUDE_DIR=${lib.getDev unixODBC}/include"
"-DWITH_OPENSSL=ON"
# on darwin this defaults to ON but we want to build against unixODBC
"-DWITH_IODBC=OFF"