jjb: lttng-tools: disable lib-ctl in relayd-only for 2.14
[lttng-ci.git] / 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.023983 seconds and 4 git commands to generate.