X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=scripts%2Flttng-ust%2Fbuild.sh;h=8f667c59044117b9c997ed224755bd42e530326e;hb=efb13b46b3c201769386cf5c2885ccd56d3a63aa;hp=e7fcac91fcb82e66762ec90abcb3782a24b4a87c;hpb=d956cb6ec820449cc465eff5a0ab8a57d579181b;p=lttng-ci.git diff --git a/scripts/lttng-ust/build.sh b/scripts/lttng-ust/build.sh index e7fcac9..8f667c5 100755 --- a/scripts/lttng-ust/build.sh +++ b/scripts/lttng-ust/build.sh @@ -231,6 +231,11 @@ agents) echo "Java and Python agents configuration" CONF_OPTS+=("--enable-java-agent-all" "--enable-jni-interface" "--enable-python-agent") + + # Explicitly add '--enable-java-agent-log4j2', it's not part of '-all' in stable 2.12/2.13 + if verlt "$PACKAGE_VERSION" "2.14"; then + CONF_OPTS+=("--enable-java-agent-log4j2") + fi ;; debug-rcu)