Closed joerg-krause closed 8 years ago
Thanks, Jörg. I don't believe there's a need for including coverage in production builds, so I've modified your change to add only FLAC to Libs.private in audiofile.pc.in. The change has been applied in 82f91311f03378da08b5ce9416e23276270645ce.
Static linking userspace programs such as MPD against libaudiofile fails if FLAC is available, because libaudiofile is linked against FLAC, but this isn't expressed in the pkg-config file:
The Libs.private field is specifically designed for such usage:
From pkg-config documentation:
Therefore, this patch adds a reference to FLAC as well as to lcov in the Libs.private field of the pkg-config file.