-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
livekit-libwebrtc: fix builds on darwin #368147
Conversation
|
|
929e2cc
to
f456056
Compare
f456056
to
3082f67
Compare
|
|
Probably worth mentioning why this fix is needed at all: recent merge of staging-next included LLVM 19 for darwin, which added a new default warning / error. This PR disables this new default warning again for libwebrtc. |
# Required for dynamically linking to ffmpeg libraries and exposing symbols | ||
./0001-shared-libraries.patch | ||
] | ||
++ lib.optionals stdenv.hostPlatform.isDarwin [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think stdenv.hostPlatform.isClang
might be more correct (but also I'm not sure this currently builds on Linux using clang, or Darwin using GCC, at all, so it probably doesn't matter)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it like this for now.
|
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.