projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Correct use of taskset in snapshot tests
[lttng-tools.git]
/
tests
/
regression
/
ust
/
getcpu-override
/
Makefile.am
diff --git
a/tests/regression/ust/getcpu-override/Makefile.am
b/tests/regression/ust/getcpu-override/Makefile.am
index a6487d9bb7f6ce9c6d939b282bd3afa8927d04aa..0c04961ec48917c6660a3619611c7874027a1863 100644
(file)
--- 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.
if NO_SHARED
# Do not build this test if shared libraries support was
# explicitly disabled.
@@
-16,19
+18,13
@@
GETCPU_LIBTOOL_FLAGS = \
-module \
-shared \
-avoid-version \
-module \
-shared \
-avoid-version \
- --no-as-needed \
+ -
Wl,-
-no-as-needed \
-rpath $(abs_builddir)
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
-rpath $(abs_builddir)
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
noinst_SCRIPTS = test_getcpu_override run-getcpu-override
EXTRA_DIST = test_getcpu_override run-getcpu-override
This page took
0.023735 seconds
and
4
git commands to generate.