Skip to content

Commit

Permalink
ladspaPlugins: fix cross-compilation for aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander V. Nikolaev <avn@avnik.info>
  • Loading branch information
avnik authored and Mic92 committed Jan 13, 2025
1 parent 1c29d68 commit 81806a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkgs/applications/audio/ladspa-plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
stdenv,
fetchFromGitHub,
autoreconfHook,
automake,
fftw,
ladspaH,
libxml2,
Expand All @@ -25,19 +24,20 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
autoreconfHook
pkg-config
perlPackages.perl
perlPackages.XMLParser
];
buildInputs = [
fftw
ladspaH
libxml2
perlPackages.perl
perlPackages.XMLParser
];

patchPhase = ''
postPatch = ''
patchShebangs .
patchShebangs ./metadata/
cp ${automake}/share/automake-*/mkinstalldirs .
substituteInPlace util/Makefile.am --replace-fail "ranlib" "$RANLIB"
substituteInPlace gsm/Makefile.am --replace-fail "ranlib" "$RANLIB"
substituteInPlace gverb/Makefile.am --replace-fail "ranlib" "$RANLIB"
'';

meta = with lib; {
Expand Down

0 comments on commit 81806a9

Please sign in to comment.