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:
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"
|
||||
|
Loading…
Reference in New Issue
Block a user