mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #10499 from jb55/fix-lmdb-osx
lmdb: fix build on OSX
This commit is contained in:
commit
0ad5dc11e1
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchzip }:
|
{ stdenv, fetchzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let optional = stdenv.lib.optional;
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
name = "lmdb-${version}";
|
name = "lmdb-${version}";
|
||||||
version = "0.9.16";
|
version = "0.9.16";
|
||||||
|
|
||||||
@ -11,7 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/libraries/liblmdb";
|
postUnpack = "sourceRoot=\${sourceRoot}/libraries/liblmdb";
|
||||||
|
|
||||||
makeFlags = "prefix=$(out)";
|
makeFlags = ["prefix=$(out)"]
|
||||||
|
++ optional stdenv.cc.isClang "CC=clang";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = "make test";
|
checkPhase = "make test";
|
||||||
|
Loading…
Reference in New Issue
Block a user