forked from mirrors/nixpkgs
aaphoto: fix darwin build
Add the llvm openmp for building.
This commit is contained in:
parent
5f2fd25d2e
commit
4ae95d7842
|
@ -5,6 +5,7 @@
|
|||
, libpng
|
||||
, libjpeg
|
||||
, zlib
|
||||
, llvmPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -16,6 +17,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-06koJM7jNVFqVgqg6BmOZ74foqk6yjUIFnwULzPZ4go=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.cc.isClang [
|
||||
llvmPackages.openmp
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
jasper
|
||||
libpng
|
||||
|
@ -43,6 +48,5 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin; # aaphoto.c:237:10: fatal error: 'omp.h' file not found
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue