mariadb galera: fix build (#41813)
This commit is contained in:
parent
fd97db43bc
commit
1705428cf9
@ -2,7 +2,7 @@
|
||||
, libiconv, openssl, pcre, boost, judy, bison, libxml2
|
||||
, libaio, libevent, groff, jemalloc, cracklib, systemd, numactl, perl
|
||||
, fixDarwinDylibNames, cctools, CoreServices
|
||||
, asio, buildEnv, check, qt4, scons
|
||||
, asio, buildEnv, check, scons
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
@ -225,7 +225,7 @@ galera = stdenv.mkDerivation rec {
|
||||
sha256 = "11pfc85z29jk0h6g6bmi3hdv4in4yb00xsr2r0qm1b0y7m2wq3ra";
|
||||
};
|
||||
|
||||
buildInputs = [ asio boost check openssl qt4 scons ];
|
||||
buildInputs = [ asio boost check openssl scons ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace SConstruct \
|
||||
@ -233,7 +233,7 @@ galera = stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export CPPFLAGS="-I${asio}/include -I${boost.dev}/include -I${check}/include -I${openssl.dev}/include"
|
||||
export CPPFLAGS="-I${asio}/include -I${boost.dev}/include -I${check}/include -I${openssl.dev}/include"
|
||||
export LIBPATH="${galeraLibs}/lib"
|
||||
'';
|
||||
|
||||
|
@ -12800,6 +12800,7 @@ with pkgs;
|
||||
rpcbind = callPackage ../servers/rpcbind { };
|
||||
|
||||
mariadb = callPackage ../servers/sql/mariadb {
|
||||
asio = asio_1_10;
|
||||
inherit (darwin) cctools;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user