spatialaudio.pc.cmake lists Zlib as a dependency, but AFAICT Zlib isn't used throughout the library. Maybe libmysofa depends on it? In any case, linking to spatialaudio 0.3.0 as shipped with Ubuntu 23.04 in a VLC build without linking to -lz seemed to work fine.
I'm noticing this now as I didn't have zlib1g-dev installed, but the linker complained about missing -lz ...
spatialaudio.pc.cmake
lists Zlib as a dependency, but AFAICT Zlib isn't used throughout the library. Maybe libmysofa depends on it? In any case, linking to spatialaudio 0.3.0 as shipped with Ubuntu 23.04 in a VLC build without linking to-lz
seemed to work fine.I'm noticing this now as I didn't have
zlib1g-dev
installed, but the linker complained about missing-lz
...