summaryrefslogtreecommitdiffstats
path: root/package/libseccomp/0001-remove-static.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-03-29 16:22:28 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-30 23:14:11 +0200
commit3d95b453e7a2e761d5301d28c1872805c17bf6a4 (patch)
tree0869a8215e56b67933d410f694c316b611447024 /package/libseccomp/0001-remove-static.patch
parent1b171af3b3b4e0f0537173c7b9703c729915a6ab (diff)
downloadbuildroot-3d95b453e7a2e761d5301d28c1872805c17bf6a4.tar.gz
buildroot-3d95b453e7a2e761d5301d28c1872805c17bf6a4.zip
package/libseccomp: bump version to 2.2.0
- change upstream URL, project moved to github - removed patches not needed anymore since project switched to autoconf - add newly supported platforms to Config.in [Thomas: - remove hash file, since we're fetching from github now.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libseccomp/0001-remove-static.patch')
-rw-r--r--package/libseccomp/0001-remove-static.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/libseccomp/0001-remove-static.patch b/package/libseccomp/0001-remove-static.patch
new file mode 100644
index 0000000000..6fd81f96d5
--- /dev/null
+++ b/package/libseccomp/0001-remove-static.patch
@@ -0,0 +1,29 @@
+Do not force static link, it breaks build with
+# BR2_STATIC_LIBS is not set
+BR2_SHARED_LIBS=y
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr libseccomp-2.2.0.org/tests/Makefile.am libseccomp-2.2.0/tests/Makefile.am
+--- libseccomp-2.2.0.org/tests/Makefile.am 2015-02-11 21:57:11.000000000 +0100
++++ libseccomp-2.2.0/tests/Makefile.am 2015-03-29 16:03:49.668946652 +0200
+@@ -16,7 +16,6 @@
+ # along with this library; if not, see <http://www.gnu.org/licenses>.
+ #
+
+-AM_LDFLAGS = -static
+ LDADD = util.la ../src/libseccomp.la
+
+ check_LTLIBRARIES = util.la
+diff -uNr libseccomp-2.2.0.org/tools/Makefile.am libseccomp-2.2.0/tools/Makefile.am
+--- libseccomp-2.2.0.org/tools/Makefile.am 2015-02-11 21:57:11.000000000 +0100
++++ libseccomp-2.2.0/tools/Makefile.am 2015-03-29 16:03:46.164992302 +0200
+@@ -33,8 +33,6 @@
+ 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
OpenPOWER on IntegriCloud