2019-03-21 08:40:43 +01:00
|
|
|
From 5d010fb06eae43b284e5ccc322f6de47eb42b751 Mon Sep 17 00:00:00 2001
|
2018-06-06 22:33:55 +02:00
|
|
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
|
|
Date: Sat, 2 Jun 2018 13:45:22 +0200
|
|
|
|
Subject: [PATCH] remove static
|
|
|
|
|
|
|
|
Do not force static link of tools, it breaks build with:
|
2015-03-29 16:22:28 +02:00
|
|
|
BR2_SHARED_LIBS=y
|
|
|
|
|
2018-06-06 22:33:55 +02:00
|
|
|
Patch retrieved from
|
|
|
|
https://git.buildroot.net/buildroot/tree/package/libseccomp/0001-remove-static.patch
|
|
|
|
and slighly updated to work with 2.3.3
|
|
|
|
|
|
|
|
[Upstream status: https://github.com/seccomp/libseccomp/pull/121]
|
|
|
|
|
2015-03-29 16:22:28 +02:00
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
2018-06-06 22:33:55 +02:00
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
2019-03-21 08:40:43 +01:00
|
|
|
[Peter: updated for v2.4.0 which adds scmp_api_level]
|
|
|
|
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
2018-06-06 22:33:55 +02:00
|
|
|
---
|
2019-03-21 08:40:43 +01:00
|
|
|
tools/Makefile.am | 3 ---
|
|
|
|
1 file changed, 3 deletions(-)
|
2015-03-29 16:22:28 +02:00
|
|
|
|
2018-06-06 22:33:55 +02:00
|
|
|
diff --git a/tools/Makefile.am b/tools/Makefile.am
|
2019-03-21 08:40:43 +01:00
|
|
|
index f768365..5f9d571 100644
|
2018-06-06 22:33:55 +02:00
|
|
|
--- a/tools/Makefile.am
|
|
|
|
+++ b/tools/Makefile.am
|
2019-03-21 08:40:43 +01:00
|
|
|
@@ -37,10 +37,7 @@ scmp_bpf_sim_SOURCES = scmp_bpf_sim.c bpf.h util.h
|
|
|
|
scmp_api_level_SOURCES = scmp_api_level.c
|
2015-03-29 16:22:28 +02:00
|
|
|
|
|
|
|
scmp_sys_resolver_LDADD = ../src/libseccomp.la
|
|
|
|
-scmp_sys_resolver_LDFLAGS = -static
|
|
|
|
scmp_arch_detect_LDADD = ../src/libseccomp.la
|
|
|
|
-scmp_arch_detect_LDFLAGS = -static
|
|
|
|
scmp_bpf_disasm_LDADD = util.la
|
|
|
|
scmp_bpf_sim_LDADD = util.la
|
2019-03-21 08:40:43 +01:00
|
|
|
scmp_api_level_LDADD = ../src/libseccomp.la
|
|
|
|
-scmp_api_level_LDFLAGS = -static
|
2018-06-06 22:33:55 +02:00
|
|
|
--
|
2019-03-21 08:40:43 +01:00
|
|
|
2.11.0
|
2018-06-06 22:33:55 +02:00
|
|
|
|