sysaudio: load libasound.so dynamically

This commit is contained in:
Ali Chraghi 2023-01-20 21:48:45 +03:30 committed by Stephen Gutekanst
parent ea8ff67ae4
commit 655e061d50
2 changed files with 196 additions and 96 deletions

View file

@ -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();
}
}