summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-11-03 23:15:33 +0200
committerGitHub <noreply@github.com>2016-11-03 23:15:33 +0200
commite2df6e90b239cbc1d14f5e63a9ba3abb08a2e787 (patch)
tree6f6952bce7c8f21ee4169acd09f75371533acd81 /Makefile.am
parent493fd52f1ada36bfe63301d4bb50f7fd2b38c670 (diff)
build-sys: link test-seccomp against seccomp libs (#4560)
Fixes build error on recent toolchains: ../src/test/test-seccomp.c:35: error: undefined reference to 'seccomp_arch_native' collect2: error: ld returned 1 exit status
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f7652c2346..f2d8bf57f7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2038,7 +2038,8 @@ test_seccomp_SOURCES = \
src/test/test-seccomp.c
test_seccomp_LDADD = \
- libsystemd-shared.la
+ libsystemd-shared.la \
+ $(SECCOMP_LIBS)
test_namespace_LDADD = \
libcore.la