Merge pull request #71776 from Izorkin/connector-c
mariadb-connector-c: 3.1.2 -> 3.1.4
This commit is contained in:
commit
c48705f537
@ -1,6 +1,6 @@
|
||||
{ callPackage, ... } @ args:
|
||||
|
||||
callPackage ./. (args // {
|
||||
version = "3.1.2";
|
||||
sha256 = "0pgz8m8d39mvj9wnjll6c83xvdl2h24273b3dkx0g5pxj7ga4shm";
|
||||
version = "3.1.4";
|
||||
sha256 = "05jkaq151a45rqpyh0vrn6xcpawayfxyzhwn1w32hk0fw3z746ks";
|
||||
})
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user