On Thursday 2014-07-17 00:02, Jonas 'Sortie' Termansen wrote:
>
>* The build system defaults --program-transform-name to the host triplet
>  when cross-compiling. It shouldn't do that as the library doesn't have
>  a target and is not a cross-compiler (as far as I know). It certainly
>  doesn't make sense to do when the library itself is being
>  cross-compiled. This also caused unexpected trouble during the man
>  page installation as the real man pages got installed under the
>  transformed name, but the hard links to the man pages wasn't
>  transformed and broke the build.

The problem is not that there is a default transformation
for cross compilers, but that the software package declares
itself to be a cross utility.

The fix is to replace all occurrences of "target" by "host". That is,
AC_CANONICAL_TARGET -> AC_CANONICAL_HOST, $target -> $host,
$target_os -> $host_os, and so on, in configure.ac and other build
scripts in libressl.

Reply via email to