Skip to content

Commit

Permalink
Native/OpenAL Soft: Explicitly disable sndio support.
Browse files Browse the repository at this point in the history
The sndio backend takes a hard dependency on libsndio.so, unlike most other
backends which load libraries dynamically. We don't want our libopenal.so to
require users to install sndio.
  • Loading branch information
alexrp committed Apr 14, 2024
1 parent bdda62c commit 303e850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/nuke/Native/OpenALSoft.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ partial class Build {
{
EnsureCleanDirectory(buildDir);
InheritedShell($"{prepare} {GetCMakeToolchainFlag(triple)}", buildDir).AssertZeroExitCode();
InheritedShell($"{prepare} -DALSOFT_BACKEND_SNDIO=OFF {GetCMakeToolchainFlag(triple)}", buildDir).AssertZeroExitCode();
InheritedShell(build, buildDir).AssertZeroExitCode();
InheritedShell($"{triple}-strip --strip-unneeded libopenal.so", buildDir).AssertZeroExitCode();
Expand Down

0 comments on commit 303e850

Please sign in to comment.