|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
From 55edef4fb8c4c0b6536ad824ef05ce412a701c6a Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
From: Martin Pitt <martin.pitt@ubuntu.com>
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
Date: Thu, 3 Nov 2016 23:15:33 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
Subject: [PATCH] build-sys: link test-seccomp against seccomp libs (#4560)
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
Fixes build error on recent toolchains:
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
../src/test/test-seccomp.c:35: error: undefined reference to 'seccomp_arch_native'
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
collect2: error: ld returned 1 exit status
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
(cherry picked from commit e2df6e90b239cbc1d14f5e63a9ba3abb08a2e787)
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
---
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
Makefile.am | 3 ++-
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
diff --git a/Makefile.am b/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
index f7652c2346..f2d8bf57f7 100644
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
--- a/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
+++ b/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
@@ -2038,7 +2038,8 @@ test_seccomp_SOURCES = \
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
src/test/test-seccomp.c
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
test_seccomp_LDADD = \
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
- libsystemd-shared.la
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
+ libsystemd-shared.la \
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
+ $(SECCOMP_LIBS)
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
test_namespace_LDADD = \
|
|
Zbigniew Jędrzejewski-Szmek |
d81bdc |
libcore.la
|