Unverified Commit 427dbe51 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

unixODBCDrivers.mariadb: fix cross

Without these variables, it will try to run odbc-config, which the
build platform might not be able to execute.
parent ec873be7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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"