openalSoft: support cross-compilation
It failed with 'missing gnu/stubs-32.h'. Adding glibc to buildInputs helps. Co-authored-by: symphorien+git@xlumurb.eu
This commit is contained in:
parent
a2aaaee3d9
commit
1674e25fb1
@ -23,9 +23,12 @@ stdenv.mkDerivation rec {
|
||||
--replace "@OUT@" $out
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = lib.optional alsaSupport alsa-lib
|
||||
buildInputs = lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) stdenv.cc.libc
|
||||
++ lib.optional alsaSupport alsa-lib
|
||||
++ lib.optional pulseSupport libpulseaudio
|
||||
++ lib.optionals stdenv.isDarwin [ CoreServices AudioUnit AudioToolbox ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user