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

TARGET perfix for envs. #254

Open
xuxiaocheng0201 opened this issue Oct 14, 2024 · 2 comments
Open

TARGET perfix for envs. #254

xuxiaocheng0201 opened this issue Oct 14, 2024 · 2 comments

Comments

@xuxiaocheng0201
Copy link

Current env is hard-coding, like OPENSSL_SRC_PERL.
But in crate openssl, these variables can be prefixed with the upper-cased target architecture, doc.
I hope this crate can read envs with target perfix, like read aarch64_linux_android_OPENSSL_SRC_PERL. This will be very useful when cross compiling.

@alexcrichton
Copy link
Owner

I think this might actually be the only env var for this crate, or is there another one you're interested in? For this one specifically I'd naively think that there's not much benefit from having a target-prefix because it's only used as a build tool which must run on the host anyway. Or is there a different problem you're trying to fix?

@xuxiaocheng0201
Copy link
Author

Yeah, it's the only env I wanted.

Previously I used cygwin to compile openssl with vendored feature. And the perl path is different from the host windows. So I opened this issue.

But I failed, and am using rustls now. This issus is not necessary for me.

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