mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
treewide: fix up some mysql.connector-c fallout
This commit is contained in:
parent
9359050ae2
commit
d9d98cd324
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ zlib pcre expat sqlite openssl unixODBC libmysql ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DMYSQL_INCLUDE_DIR=${libmysql.dev}/include/mysql"
|
||||
"-DMYSQL_INCLUDE_DIR=${libmysql}/include/mysql"
|
||||
"-DPOCO_UNBUNDLED=ON"
|
||||
];
|
||||
|
||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
|
||||
"-DWT_CPP_11_MODE=-std=c++11"
|
||||
"-DGM_PREFIX=${graphicsmagick}"
|
||||
"-DMYSQL_PREFIX=${libmysql.dev}"
|
||||
"-DMYSQL_PREFIX=${libmysql}"
|
||||
"--no-warn-unused-cli"
|
||||
];
|
||||
|
||||
|
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
||||
++ optional (openssl != null) "--with-openssl=${openssl.dev}"
|
||||
++ optional (sqlite != null) "--with-sqlite3=${sqlite.dev}"
|
||||
++ optional (postgresql != null) "--with-postgresql=${postgresql}"
|
||||
++ optional (libmysql != null) "--with-mysql=${libmysql.dev}"
|
||||
++ optional (libmysql != null) "--with-mysql=${libmysql}"
|
||||
++ optional (zlib != null) "--with-zlib=${zlib.dev}"
|
||||
++ optional (lzo != null) "--with-lzo=${lzo}"
|
||||
++ optional (jansson != null) "--with-jansson=${jansson}"
|
||||
|
Loading…
Reference in New Issue
Block a user