From a2eb91f72380ed07f026bc2ab6b12404fff90d65 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 1 Mar 2024 17:41:38 -0500 Subject: [PATCH] jjb: lttng-tools: disable lib-ctl in relayd-only for 2.14 Change-Id: Ia2419c711d60d0504a0ab38821f962de5cdfd29e Signed-off-by: Michael Jeanson --- scripts/lttng-tools/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index 6b88a1d..d484e10 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -355,6 +355,11 @@ relayd-only) print_header "Conf: Relayd only" CONF_OPTS+=("--disable-bin-lttng" "--disable-bin-lttng-consumerd" "--disable-bin-lttng-crash" "--disable-bin-lttng-sessiond" "--disable-extras" "--disable-man-pages" "--without-lttng-ust") + + # A config option for lib-lttng-ctl was added in 2.14 + if vergte "$PACKAGE_VERSION" "2.14"; then + CONF_OPTS+=("--disable-lib-lttng-ctl") + fi ;; debug-rcu) -- 2.34.1