From abb0253b3cdc8fb871d88b3ef92e4d9c613bed34 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 3 Nov 2016 23:15:33 +0200 Subject: [PATCH] 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 (cherry picked from commit e2df6e90b239cbc1d14f5e63a9ba3abb08a2e787) --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.9.3