parent
696b36f928
commit
067b4dbb93
@ -3,7 +3,7 @@
|
|||||||
, libaio, libevent, jemalloc, cracklib, systemd, numactl, perl
|
, libaio, libevent, jemalloc, cracklib, systemd, numactl, perl
|
||||||
, fixDarwinDylibNames, cctools, CoreServices
|
, fixDarwinDylibNames, cctools, CoreServices
|
||||||
, asio, buildEnv, check, scons
|
, asio, buildEnv, check, scons
|
||||||
, less
|
, less, fetchpatch
|
||||||
, withoutClient ? false
|
, withoutClient ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -56,7 +56,12 @@ common = rec { # attributes common to both builds
|
|||||||
patches = [
|
patches = [
|
||||||
./cmake-includedir.patch
|
./cmake-includedir.patch
|
||||||
./cmake-libmariadb-includedir.patch
|
./cmake-libmariadb-includedir.patch
|
||||||
];
|
] ++ optional stdenv.hostPlatform.isDarwin (fetchpatch {
|
||||||
|
url = "https://github.com/MariaDB/mariadb-connector-c/commit/ee91b2c98a63acb787114dee4f2694e154630928.patch";
|
||||||
|
extraPrefix = "libmariadb/";
|
||||||
|
sha256 = "06i865zwyhs9fvrgmargzn09pbg1cmably3c4wifd241bj8ig8qk";
|
||||||
|
stripLen = 1;
|
||||||
|
});
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_CONFIG=mysql_release"
|
"-DBUILD_CONFIG=mysql_release"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user