armdevvel / mxe-SHARED

MXE (M cross environment) for ARM32 Windows development (shared libraries)
Other
6 stars 3 forks source link

Export static libraries as public dependencies in gnutls, fixing wget #23

Closed treeswift closed 1 year ago

treeswift commented 1 year ago

Private dependencies of libgnutls, per the GNUTLS_LIBS_PRIVATE config variable, are -lcrypt32 -lncrypt -lbcrypt. All of them are static libraries and need to be linked into the eventual executable (a "diamond dependency" prevention rule enforced by libtool). Making them public in the pkgconfig file fixes wget (and potentially other clients of libgnutls). Requesting a review mostly to share the analysis.

SSL3.0 is added as a bonus feature.