Merge #245228: libjack2: fix cross compilation

...into staging
This commit is contained in:
Vladimír Čunát 2023-07-26 18:56:32 +02:00
commit 082459bef3
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, python3Packages, makeWrapper
, bash, libsamplerate, libsndfile, readline, eigen, celt
, libsamplerate, libsndfile, readline, eigen, celt
, wafHook
# Darwin Dependencies
, aften, AudioUnit, CoreAudio, libobjc, Accelerate
@ -46,9 +46,8 @@ stdenv.mkDerivation (finalAttrs: {
aften AudioUnit CoreAudio Accelerate libobjc
];
prePatch = ''
substituteInPlace svnversion_regenerate.sh \
--replace /bin/bash ${bash}/bin/bash
postPatch = ''
patchShebangs --build svnversion_regenerate.sh
'';
dontAddWafCrossFlags = true;