X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fclock-override%2FMakefile.am;h=9495bca053424ebdd995acaa3fa42df8d24aecab;hp=8559ef02e1f5c2a39bc4401537527491cdc98f18;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hpb=343af227102f6b274bfd7f6c7220eb3b776ba5e3 diff --git a/tests/regression/ust/clock-override/Makefile.am b/tests/regression/ust/clock-override/Makefile.am index 8559ef02e..9495bca05 100644 --- a/tests/regression/ust/clock-override/Makefile.am +++ b/tests/regression/ust/clock-override/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + if NO_SHARED # Do not build this test if shared libraries support was # explicitly disabled. @@ -21,13 +23,7 @@ GETCPU_LIBTOOL_FLAGS = \ noinst_LTLIBRARIES = lttng-ust-clock-override-test.la lttng_ust_clock_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS) lttng_ust_clock_override_test_la_SOURCES = lttng-ust-clock-override-test.c - -if LTTNG_TOOLS_BUILD_WITH_LIBDL -lttng_ust_clock_override_test_la_LIBADD = -ldl -endif -if LTTNG_TOOLS_BUILD_WITH_LIBC_DL -lttng_ust_clock_override_test_la_LIBADD = -lc -endif +lttng_ust_clock_override_test_la_LIBADD = $(DL_LIBS) noinst_SCRIPTS = test_clock_override EXTRA_DIST = test_clock_override