[Bug]: pkgconfig has incomplete Libs.private
Contact Details
No response
Version
5.8.0
Description
Noticed in updating the curl port in vcpkg (https://github.com/microsoft/vcpkg/pull/46444):
Static builds of wolfssl need additional link libraries, in particular -framework CoreFoundation -framework Security. Such usage requirements should be published in the installed wolfssl.pc file in Libs.private. It only handles -lm at the momemnt.
Reproduction steps
No response
Relevant log output
@night1rider isn't that related to --enable-sys-ca-certs specifically on Apple MacOS? Should we have that disabled perhaps?
My interest is not to have something disabled but to have the installed pc file match the actual usage requirements. There seeme to more conditional link libs. It might make sense to collect them in variables PC_LIBS_PRIVATE/PC_REQUIRES_PRIVATE during configuration.
@dg0yt Could you confirm that #9037 satisfies your request? I tested this on a Mac OS environment, but would like you to confirm.
@dg0yt Hello we just merged in #9037, if you could check this and let us know if you have any issues.