besser82 / libxcrypt

Extended crypt library for descrypt, md5crypt, bcrypt, and others
GNU Lesser General Public License v2.1
189 stars 52 forks source link

Provide an opportunity to build libxcrypt without symvers #143

Closed galaxy4public closed 1 year ago

galaxy4public commented 2 years ago

This tries to (partially) address #142 . This PR introduces a condition inside the gen-crypt-symbol-vers-h helper script, which is used to generate a header file with versioning info. If the DO_NOT_GENERATE_SYMVERS environment variable is present, then the script won't produce versioning info.

I think maintainers have a better idea on how to integrate this into the autotools build system than I am. Ideally, when somebody passes --disable-symvers to configure the aforementioned environment variable should be set before calling the script.

besser82 commented 1 year ago

I've come up with a more elaborated solution to this in #159.