mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
mariadb-connector-c: 3.1.2 -> 3.1.4
This commit is contained in:
parent
061c6b8024
commit
ffae858195
2 changed files with 4 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ callPackage, ... } @ args:
|
{ callPackage, ... } @ args:
|
||||||
|
|
||||||
callPackage ./. (args // {
|
callPackage ./. (args // {
|
||||||
version = "3.1.2";
|
version = "3.1.4";
|
||||||
sha256 = "0pgz8m8d39mvj9wnjll6c83xvdl2h24273b3dkx0g5pxj7ga4shm";
|
sha256 = "05jkaq151a45rqpyh0vrn6xcpawayfxyzhwn1w32hk0fw3z746ks";
|
||||||
})
|
})
|
||||||
|
|
|
@ -19,9 +19,10 @@ stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DWITH_EXTERNAL_ZLIB=ON"
|
|
||||||
"-DMARIADB_UNIX_ADDR=/run/mysqld/mysqld.sock"
|
"-DMARIADB_UNIX_ADDR=/run/mysqld/mysqld.sock"
|
||||||
"-DWITH_CURL=ON"
|
"-DWITH_CURL=ON"
|
||||||
|
"-DWITH_EXTERNAL_ZLIB=ON"
|
||||||
|
"-DWITH_MYSQLCOMPAT=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
# The cmake setup-hook uses $out/lib by default, this is not the case here.
|
# The cmake setup-hook uses $out/lib by default, this is not the case here.
|
||||||
|
@ -39,10 +40,6 @@ stdenv.mkDerivation {
|
||||||
ln -sv mariadb_config $out/bin/mysql_config
|
ln -sv mariadb_config $out/bin/mysql_config
|
||||||
ln -sv mariadb $out/lib/mysql
|
ln -sv mariadb $out/lib/mysql
|
||||||
ln -sv mariadb $out/include/mysql
|
ln -sv mariadb $out/include/mysql
|
||||||
ln -sv libmariadbclient.a $out/lib/mariadb/libmysqlclient.a
|
|
||||||
ln -sv libmariadbclient.a $out/lib/mariadb/libmysqlclient_r.a
|
|
||||||
ln -sv libmariadb.so $out/lib/mariadb/libmysqlclient.so
|
|
||||||
ln -sv libmariadb.so $out/lib/mariadb/libmysqlclient_r.so
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue