jjb: lttng-tools: disable lib-ctl in relayd-only for 2.14
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 1 Mar 2024 22:41:38 +0000 (17:41 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 1 Mar 2024 22:41:42 +0000 (17:41 -0500)
Change-Id: Ia2419c711d60d0504a0ab38821f962de5cdfd29e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/lttng-tools/build.sh

index 6b88a1d278cf6f9a1ebfd95840cd7df8e5f88b37..d484e102b4439bc49c2ce89e9065217ca5ac6260 100755 (executable)
@@ -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)
This page took 0.022927 seconds and 4 git commands to generate.