1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 02:14:36 +00:00

Merge pull request #145259 from risicle/ris-zita-resampler-aarch64

zita-resampler: fix build for aarch64
This commit is contained in:
Robert Scott 2021-11-10 16:13:54 +00:00 committed by GitHub
commit 0ae1a8ace3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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