[lttng-dev] [PATCH lttng-ust] Fix linking failure when cross-compiling

Adrien Vergé adrienverge at gmail.com
Sat Apr 26 10:55:39 EDT 2014

2014-04-26 4:40 GMT-04:00 Mathieu Desnoyers <mathieu.desnoyers at efficios.com>:
> -L../../../liblttng-ust/.libs/
> into
> -L../../../liblttng-ust/.libs
> (final / removed)
> It should change much things overall, but is there any reason for
> this change ?


ld already adds a final slash to the passed directory, which results
in something like:
../../../liblttng-ust/.libs//liblttng-ust.so (notice the double slash).

If this is a problem (e.g. breaks build with other linkers than ld),
the final slash can be set back, it also works.


More information about the lttng-dev mailing list