sysaudio: load libpipewire-0.3.so dynamically

This commit is contained in:
Ali Chraghi 2023-01-21 00:30:50 +03:30 committed by Stephen Gutekanst
parent 655e061d50
commit 05968f0496
3 changed files with 69 additions and 21 deletions

View file

@ -34,7 +34,6 @@ pub fn Sdk(comptime deps: anytype) type {
step.linkFramework("CoreAudio");
} else if (step.target.toTarget().os.tag == .linux) {
step.addCSourceFile(sdkPath("/src/pipewire/sysaudio.c"), &.{"-std=gnu99"});
step.linkSystemLibrary("pipewire-0.3");
step.linkLibC();
}
}