Merge pull request #123238 from stephank/fix-jpeg-archive-darwin

jpeg-archive: fix darwin build
This commit is contained in:
Domen Kožar
2021-05-16 20:17:04 +02:00
committed by GitHub

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