From: Martin Pitt Date: Thu, 3 Nov 2016 21:15:33 +0000 (+0200) Subject: build-sys: link test-seccomp against seccomp libs (#4560) X-Git-Tag: v233~463 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2df6e90b239cbc1d14f5e63a9ba3abb08a2e787;p=thirdparty%2Fsystemd.git 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 --- diff --git a/Makefile.am b/Makefile.am index f7652c23469..f2d8bf57f70 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