From e2df6e90b239cbc1d14f5e63a9ba3abb08a2e787 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 3 Nov 2016 23:15:33 +0200 Subject: 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 --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') 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 -- cgit v1.2.3