[lttng-dev] [PATCH lttng-tools 0/2] Configure fixes for cross-compilation

Christian Babeux christian.babeux at efficios.com
Fri Aug 3 16:31:26 EDT 2012


Hi all,

Here are a few fixes to the configure.ac script to accomodate
cross-compilation of lttng-tools.

Patch 1: 

Same fix that was merged in lttng-ust to fix libtool.m4 on target 
where link_all_deplibs = no.

Patch 2:

Fix an issue encountered when cross-compiling. The configure script
simply fails saying it cannot find the lttng-ust-ctl library even
thought the proper "-L/path/to/ust" is specified in $LDFLAGS.
The AC_CHECK_LIB test fails because it can't find the libraries that
liblttng-ust-ctl depends on. The fix is to specify the dependents
libraries (liburcu-{common,bp,cds}) in the other-lib-case of AC_CHECK_LIB.

Thanks,

Christian

Christian Babeux (2):
  Fix: Libtool fails to find dependent libraries when cross-compiling
    lttng-tools
  Fix: Missing libs dependencies in configure check for lttng-ust-ctl

 configure.ac | 38 +++++++++++++++++++++++++++++++++-----
 1 file changed, 33 insertions(+), 5 deletions(-)

-- 
1.7.11.3




More information about the lttng-dev mailing list