diff mbox

[lttng-ust] Only build python lib when agent is enabled

Message ID 1466091231-14452-1-git-send-email-mjeanson@efficios.com
State Accepted, archived
Headers show

Commit Message

Michael Jeanson June 16, 2016, 3:33 p.m. UTC
Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/Makefile.am b/Makefile.am
index 1db7480..e498719 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,6 @@  SUBDIRS = . include snprintf libringbuffer liblttng-ust-comm \
 		liblttng-ust-fork \
 		liblttng-ust-libc-wrapper \
 		liblttng-ust-cyg-profile \
-		liblttng-ust-python-agent \
 		tools
 
 if HAVE_DLINFO
@@ -22,7 +21,8 @@  SUBDIRS += liblttng-ust-java-agent
 endif
 
 if BUILD_PYTHON_AGENT
-SUBDIRS += python-lttngust
+SUBDIRS += python-lttngust \
+		liblttng-ust-python-agent
 endif
 
 SUBDIRS += tests doc