wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

[Bug]: pkgconfig has incomplete Libs.private

Open dg0yt opened this issue 5 months ago • 4 comments

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


dg0yt avatar Jul 17 '25 03:07 dg0yt

@night1rider isn't that related to --enable-sys-ca-certs specifically on Apple MacOS? Should we have that disabled perhaps?

dgarske avatar Jul 17 '25 13:07 dgarske

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 avatar Jul 17 '25 22:07 dg0yt

@dg0yt Could you confirm that #9037 satisfies your request? I tested this on a Mac OS environment, but would like you to confirm.

night1rider avatar Jul 29 '25 21:07 night1rider

@dg0yt Hello we just merged in #9037, if you could check this and let us know if you have any issues.

night1rider avatar Oct 01 '25 16:10 night1rider