SHA256
1
0
forked from pool/libseccomp
libseccomp/no-static.diff

24 lines
754 B
Diff
Raw Normal View History

RPM's brp checks say:
ERROR: RPATH "/home/abuild/rpmbuild/BUILD/libseccomp-2.2.0/src/.libs"
on <buildroot>/usr/bin/scmp_sys_resolver is not allowed
---
tools/Makefile.am | 2 --
1 file changed, 2 deletions(-)
Index: libseccomp-2.2.0/tools/Makefile.am
===================================================================
--- libseccomp-2.2.0.orig/tools/Makefile.am
+++ libseccomp-2.2.0/tools/Makefile.am
@@ -33,8 +33,6 @@ scmp_bpf_disasm_SOURCES = scmp_bpf_disas
scmp_bpf_sim_SOURCES = scmp_bpf_sim.c bpf.h util.h
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