liblttng-ust-fork \
liblttng-ust-libc-wrapper \
liblttng-ust-cyg-profile \
- tools \
- doc
+ tools
+
+if HAVE_DLINFO
+SUBDIRS += liblttng-ust-dl
+endif
if BUILD_JNI_INTERFACE
SUBDIRS += liblttng-ust-java liblttng-ust-jul
endif
-SUBDIRS += tests
+SUBDIRS += tests doc
#temporarily disabled
# liblttng-ust-malloc