Open NPellet opened 2 years ago
It the ANDROID NDK contains binaries that potentially name clash with system tools then it is kind of obvious that path to the NDK must be at the beginning of the PATH and not at the end, otherwise the system tools will be invoked instead of the ANDROID NDK binaries.
marking as inactive, to be closed at the end of 3.4 dev barring further input
Checking out this configuration line here:
https://github.com/openssl/openssl/blob/479b9adb88b9050186c1e9fc94879906f378b14b/Configurations/15-android.conf#L106
clearly shows that whether
(toolchain path at the beginning)
or
(toolchain path at the end)
Makes a huge difference in the way the toolchain if resolved. I've got no experience in toolchains, but is this really how it should be ?
The documentation is correct (https://github.com/openssl/openssl/blob/master/NOTES-ANDROID.md?plain=1#L41) in the sense that it specifies properly how the path should be set, yet I'm so used to writing
export PATH=$PATH:...
that I didn't really pay attention to the path order and definitely didn't expect it to play any role.Should this be either changed or at least documented with some warning ?
(Sorry I realize I probably didn't classify this properly. It's not really a feature request)