Merge pull request #301170 from OPNA2608/fix/libsamplerate-darwin

libsamplerate: Fix build on Darwin
This commit is contained in:
Weijia Wang 2024-04-03 13:01:50 +02:00 committed by GitHub
commit 25e80255bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -24,8 +24,6 @@ in stdenv.mkDerivation rec {
# need headers from the Carbon.framework in /System/Library/Frameworks to
# compile this on darwin -- not sure how to handle
NIX_CFLAGS_COMPILE+=" -I${Carbon}/Library/Frameworks/Carbon.framework/Headers"
substituteInPlace examples/Makefile --replace "-fpascal-strings" ""
'';
meta = with lib; {