Skip to content

Commit

Permalink
tools: remove static flag from the build
Browse files Browse the repository at this point in the history
Do not force static link of tools, it breaks build with:
BR2_SHARED_LIBS=y

Patch retrieved from
https://git.buildroot.net/buildroot/tree/package/libseccomp/0001-remove-static.patch and slighly updated to work with 2.3.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
[PM: also removed the '-static' from the scmp_api_level build]
Signed-off-by: Paul Moore <paul@paul-moore.com>
  • Loading branch information
ffontaine authored and pcmoore committed Nov 14, 2019
1 parent e5ef83b commit 1052ec1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/Makefile.am
Expand Up @@ -35,10 +35,7 @@ scmp_bpf_sim_SOURCES = scmp_bpf_sim.c bpf.h util.h
scmp_api_level_SOURCES = scmp_api_level.c

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
scmp_api_level_LDADD = ../src/libseccomp.la
scmp_api_level_LDFLAGS = -static

0 comments on commit 1052ec1

Please sign in to comment.