Skip to content

Conversation

tbrusa
Copy link

@tbrusa tbrusa commented Sep 22, 2025

This is a rebase of the previous patches from Jörg Sommer in order to fix cross compilation and also make use of AC_CHECK_LIB while searching for libxml files.

The manual search fails if the include directories (and build environment)
are located somewhere else.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
The macro AX_PROG_CC_FOR_BUILD [1] sets the variables CC_FOR_BUILD and
..._FLAGS_FOR_BUILD they can be used [2] to build binaries used at compile
time.

[1]: https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
[2]: https://stackoverflow.com/questions/24201260/autotools-cross-compilation-and-generated-sources/24208587#24208587

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
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

Successfully merging this pull request may close these issues.

2 participants