Fixes cross compiling / do AC_CHECK_LIB to search for libxml#109
Open
tbrusa wants to merge 2 commits intofreeswitch:masterfrom
Open
Fixes cross compiling / do AC_CHECK_LIB to search for libxml#109tbrusa wants to merge 2 commits intofreeswitch:masterfrom
tbrusa wants to merge 2 commits intofreeswitch:masterfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.