[lttng-dev] [PATCH lttng-tools] configure.ac: fix static build

Samuel Martin s.martin49 at gmail.com
Fri Nov 27 16:20:33 EST 2015


Hi all,

On Sun, Nov 22, 2015 at 11:38 PM, Samuel Martin <s.martin49 at gmail.com> wrote:
> For static build, some extra LDFLAGS may be needed.
>
> Using PKG_CHECK_MODULES instead of AC_CHECK_LIB for librairy detection
> allows to get all these flags. Then, the LIBS variable can be extended
> with everything that is needed.
>
> So, use PKG_CHECK_MODULES for popt and uuid detection; which both depend
> on libintl.
>
> This changes fixes build failures triggered with Buildroot, e.g.:
>   http://autobuild.buildroot.net/results/0f1/0f1e015a0c5a5ac2beeb5011d31a1e0058a32a0d/build-end.log

For the record, I just file a bug report about it:
https://bugs.lttng.org/issues/979

Cheers,



More information about the lttng-dev mailing list