From b827d67e5385599deed8dc2b61ec064d40d067cd Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Fri, 2 Nov 2012 15:03:17 -0400 Subject: [PATCH] Fix: Missing librt dependency in configure check for lttng-ust-ctl The lttng-ust-ctl library depends on librt. The AC_CHECK_LIBRARY macro can't automatically resolve dependents libraries (ala libtool), so any additionnals dependencies must be manually specified. Signed-off-by: Christian Babeux Signed-off-by: David Goulet --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0911b9a26..72daf7e0f 100644 --- a/configure.ac +++ b/configure.ac @@ -144,7 +144,7 @@ AS_IF([test "x$lttng_ust_support" = "xyes"], [ lttng_ust_ctl_found=yes ], [AC_MSG_ERROR([Cannot find LTTng-UST. Use [LDFLAGS]=-Ldir to specify its location, or specify --disable-lttng-ust to build lttng-tools without LTTng-UST support.])], - [-lurcu-common -lurcu-bp -lurcu-cds] + [-lurcu-common -lurcu-bp -lurcu-cds -lrt] ) ]) AM_CONDITIONAL([HAVE_LIBLTTNG_UST_CTL], [test "x$lttng_ust_ctl_found" = xyes]) -- 2.34.1