zita-resampler: fix build for aarch64

This commit is contained in:
Robert Scott 2021-11-09 22:00:59 +00:00
parent 37bd69672d
commit 1410227449

View file

@ -15,7 +15,11 @@ stdenv.mkDerivation rec {
patchPhase = ''
cd source
sed -e "s@ldconfig@@" -i Makefile
substituteInPlace Makefile \
--replace 'ldconfig' ""
'' + lib.optionalString (!stdenv.targetPlatform.isx86_64) ''
substituteInPlace Makefile \
--replace '-DENABLE_SSE2' ""
'';
fixupPhase = ''