X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fgetcpu-override%2FMakefile.am;h=3eb25436679e0f1da2388c5824c4a635e46c1a9b;hb=44c180cac90d0c2a0486d6bc1aeaf0f1538c1075;hp=a6487d9bb7f6ce9c6d939b282bd3afa8927d04aa;hpb=343af227102f6b274bfd7f6c7220eb3b776ba5e3;p=lttng-tools.git diff --git a/tests/regression/ust/getcpu-override/Makefile.am b/tests/regression/ust/getcpu-override/Makefile.am index a6487d9bb..3eb254366 100644 --- a/tests/regression/ust/getcpu-override/Makefile.am +++ b/tests/regression/ust/getcpu-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. @@ -22,13 +24,7 @@ GETCPU_LIBTOOL_FLAGS = \ noinst_LTLIBRARIES = lttng-ust-getcpu-override-test.la lttng_ust_getcpu_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS) lttng_ust_getcpu_override_test_la_SOURCES = lttng-ust-getcpu-override-test.c - -if LTTNG_TOOLS_BUILD_WITH_LIBDL -lttng_ust_getcpu_override_test_la_LIBADD = -ldl -endif -if LTTNG_TOOLS_BUILD_WITH_LIBC_DL -lttng_ust_getcpu_override_test_la_LIBADD = -lc -endif +lttng_ust_getcpu_override_test_la_LIBADD = $(DL_LIBS) noinst_SCRIPTS = test_getcpu_override run-getcpu-override EXTRA_DIST = test_getcpu_override run-getcpu-override