mariadb-connector-c: 3.1.2 -> 3.1.4

This commit is contained in:
Izorkin 2019-10-23 10:01:04 +03:00
parent 061c6b8024
commit ffae858195
2 changed files with 4 additions and 7 deletions

View file

@ -1,6 +1,6 @@
{ callPackage, ... } @ args:
callPackage ./. (args // {
version = "3.1.2";
sha256 = "0pgz8m8d39mvj9wnjll6c83xvdl2h24273b3dkx0g5pxj7ga4shm";
version = "3.1.4";
sha256 = "05jkaq151a45rqpyh0vrn6xcpawayfxyzhwn1w32hk0fw3z746ks";
})

View file

@ -19,9 +19,10 @@ stdenv.mkDerivation {
};
cmakeFlags = [
"-DWITH_EXTERNAL_ZLIB=ON"
"-DMARIADB_UNIX_ADDR=/run/mysqld/mysqld.sock"
"-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.
@ -39,10 +40,6 @@ stdenv.mkDerivation {
ln -sv mariadb_config $out/bin/mysql_config
ln -sv mariadb $out/lib/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 = {