libdbi-drivers: fix libmysqlclient include path

This commit is contained in:
Thomas Tuegel 2020-09-09 14:17:41 -05:00
parent 106616102d
commit 3510a5f13c
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
"--with-dbi-libdir=${libdbi}/lib"
] ++ optionals (libmysqlclient != null) [
"--with-mysql"
"--with-mysql-incdir=${libmysqlclient}/include/mysql"
"--with-mysql-incdir=${getDev libmysqlclient}/include/mysql"
"--with-mysql-libdir=${libmysqlclient}/lib/mysql"
] ++ optionals (sqlite != null) [
"--with-sqlite3"