AM_LDFLAGS =
if LTTNG_TOOLS_BUILD_WITH_LIBDL
-AM_LDFLAGS += -ldl
+LIBS += -ldl
endif
if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-AM_LDFLAGS += -lc
+LIBS += -lc
endif
if NO_SHARED
endif
dist_noinst_SCRIPTS = test_thread_exit test_thread_stall test_tp_fail \
- test_health.sh
+ test_health.sh test_thread_ok
EXTRA_DIST = test_thread_exit test_thread_stall test_tp_fail \
- test_health.sh
+ test_health.sh test_thread_ok
all-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \