mariadb: fix arm builds

This commit is contained in:
michael bishop 2016-04-17 00:40:10 -03:00
parent a832a71c2c
commit 437468d5ea
No known key found for this signature in database
GPG key ID: C294FC1A485A409A

View file

@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
# temporary due to https://mariadb.atlassian.net/browse/MDEV-9000
(if stdenv.is64bit then snappy else null)
pcre libxml2 boost judy bison libevent cracklib
] ++ stdenv.lib.optionals stdenv.isLinux [ jemalloc libaio systemd numactl ]
] ++ stdenv.lib.optionals stdenv.isLinux [ jemalloc libaio systemd ]
++ stdenv.lib.optionals (stdenv.isLinux && !stdenv.isArm) [ numactl ]
++ stdenv.lib.optionals stdenv.isDarwin [ perl fixDarwinDylibNames cctools CoreServices ];
patches = stdenv.lib.optional stdenv.isDarwin ./my_context_asm.patch;