Skip to content

Fixes cross compiling / do AC_CHECK_LIB to search for libxml#109

Open
tbrusa wants to merge 2 commits intofreeswitch:masterfrom
tbrusa:fix_cross_compiling
Open

Fixes cross compiling / do AC_CHECK_LIB to search for libxml#109
tbrusa wants to merge 2 commits intofreeswitch:masterfrom
tbrusa:fix_cross_compiling

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