forked from mirrors/nixpkgs
jpeg-archive: fix darwin build
This commit is contained in:
parent
9b92a81723
commit
eb8890f3bb
|
@ -22,9 +22,10 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"PREFIX=$(out)"
|
||||
"MOZJPEG_PREFIX=${mozjpeg}"
|
||||
"LIBJPEG=${mozjpeg}/lib/libjpeg.so"
|
||||
"LIBJPEG=${mozjpeg}/lib/libjpeg${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in a new issue