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
This commit is contained in:
Martin Pitt
2016-11-03 23:15:33 +02:00
committed by GitHub
parent 493fd52f1a
commit e2df6e90b2
+2 -1
View File
@@ -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