3
0
Fork 0
forked from mirrors/nixpkgs

jpeg-archive: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-16 13:56:30 +02:00
parent 9b92a81723
commit eb8890f3bb

View file

@ -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 = ''