gnome3.libgda: use embedded sqlite support on macOS

Taken from the Homebrew Formula
This commit is contained in:
Sebastien Lavoie 2019-10-15 14:00:17 -04:00
parent ce5616f178
commit 9b83a23542
No known key found for this signature in database
GPG Key ID: 706C5F8A43AD63B9

View File

@ -19,6 +19,13 @@ assert postgresSupport -> postgresql != null;
"--enable-gi-system-install=no"
"--with-mysql=${if mysqlSupport then "yes" else "no"}"
"--with-postgres=${if postgresSupport then "yes" else "no"}"
# macOS builds use the sqlite source code that comes with libgda,
# as opposed to using the system or brewed sqlite3, which is not supported on macOS,
# as mentioned in https://github.com/GNOME/libgda/blob/95eeca4b0470f347c645a27f714c62aa6e59f820/libgda/sqlite/README#L31,
# which references the paper https://web.archive.org/web/20100610151539/http://lattice.umiacs.umd.edu/files/functions_tr.pdf
# See also https://github.com/Homebrew/homebrew-core/blob/104f9ecd02854a82372b64d63d41356555378a52/Formula/libgda.rb
"--enable-system-sqlite=${if stdenv.isDarwin then "no" else "yes"}"
];
enableParallelBuilding = true;