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 = [
|
cmakeFlags = [
|
||||||
|
"-DODBC_LIB_DIR=${lib.getLib unixODBC}/lib"
|
||||||
|
"-DODBC_INCLUDE_DIR=${lib.getDev unixODBC}/include"
|
||||||
"-DWITH_OPENSSL=ON"
|
"-DWITH_OPENSSL=ON"
|
||||||
# on darwin this defaults to ON but we want to build against unixODBC
|
# on darwin this defaults to ON but we want to build against unixODBC
|
||||||
"-DWITH_IODBC=OFF"
|
"-DWITH_IODBC=OFF"
|
||||||
|
|
Loading…
Reference in a new issue