Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose DEP_ var to dependents with path to OpenSSL headers #1579

Open
alex opened this issue Dec 12, 2021 · 2 comments
Open

Expose DEP_ var to dependents with path to OpenSSL headers #1579

alex opened this issue Dec 12, 2021 · 2 comments

Comments

@alex
Copy link
Collaborator

alex commented Dec 12, 2021

Use case is here: pyca/cryptography#6695 (comment)

If there was a DEP_OPENSSL_HEADERS (or something), we could ensure that every part of the dependency tree is correctly compiling against the same copy of OpenSSL.

@sfackler
Copy link
Owner

This should exist as DEP_OPENSSL_INCLUDE (https://github.com/sfackler/rust-openssl/blob/master/openssl-sys/build/main.rs#L84), but I think that may not be set properly if the OpenSSL is discovered via homebrew or pkg-config. #1573 includes a refactor to that logic that should make a fix here easy after it lands.

@alex
Copy link
Collaborator Author

alex commented Dec 12, 2021

Revised request, document that :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants