sysaudio: load libasound.so dynamically
This commit is contained in:
parent
ea8ff67ae4
commit
655e061d50
2 changed files with 196 additions and 96 deletions
|
|
@ -35,9 +35,6 @@ pub fn Sdk(comptime deps: anytype) type {
|
|||
} else if (step.target.toTarget().os.tag == .linux) {
|
||||
step.addCSourceFile(sdkPath("/src/pipewire/sysaudio.c"), &.{"-std=gnu99"});
|
||||
step.linkSystemLibrary("pipewire-0.3");
|
||||
step.linkSystemLibrary("asound");
|
||||
step.linkSystemLibrary("pulse");
|
||||
step.linkSystemLibrary("jack");
|
||||
step.linkLibC();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue