summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap/files/0001-tests-do-not-statically-link-a-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libcap/files/0001-tests-do-not-statically-link-a-test.patch')
-rw-r--r--meta/recipes-support/libcap/files/0001-tests-do-not-statically-link-a-test.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-support/libcap/files/0001-tests-do-not-statically-link-a-test.patch b/meta/recipes-support/libcap/files/0001-tests-do-not-statically-link-a-test.patch
index 414e45a6f4..55872aa8fa 100644
--- a/meta/recipes-support/libcap/files/0001-tests-do-not-statically-link-a-test.patch
+++ b/meta/recipes-support/libcap/files/0001-tests-do-not-statically-link-a-test.patch
@@ -7,14 +7,13 @@ This fails on e.g. centos 7
7 7
8Upstream-Status: Inappropriate [oe-core specific] 8Upstream-Status: Inappropriate [oe-core specific]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10
11--- 10---
12 progs/Makefile | 2 +- 11 progs/Makefile | 2 +-
13 tests/Makefile | 4 ++-- 12 tests/Makefile | 4 ++--
14 2 files changed, 3 insertions(+), 3 deletions(-) 13 2 files changed, 3 insertions(+), 3 deletions(-)
15 14
16diff --git a/progs/Makefile b/progs/Makefile 15diff --git a/progs/Makefile b/progs/Makefile
17index 289186e..071a285 100644 16index 3e82862..48533f3 100644
18--- a/progs/Makefile 17--- a/progs/Makefile
19+++ b/progs/Makefile 18+++ b/progs/Makefile
20@@ -49,7 +49,7 @@ capsh: capsh.c capshdoc.h.cf $(DEPS) 19@@ -49,7 +49,7 @@ capsh: capsh.c capshdoc.h.cf $(DEPS)
@@ -24,8 +23,8 @@ index 289186e..071a285 100644
24- $(CC) $(IPATH) $(CAPSH_SHELL) $(CFLAGS) -o $@ $< $(LIBCAPLIB) $(LDFLAGS) --static 23- $(CC) $(IPATH) $(CAPSH_SHELL) $(CFLAGS) -o $@ $< $(LIBCAPLIB) $(LDFLAGS) --static
25+ $(CC) $(IPATH) $(CAPSH_SHELL) $(CFLAGS) -o $@ $< $(LIBCAPLIB) $(LDFLAGS) 24+ $(CC) $(IPATH) $(CAPSH_SHELL) $(CFLAGS) -o $@ $< $(LIBCAPLIB) $(LDFLAGS)
26 25
27 sudotest: test tcapsh-static 26 uns_test: ../tests/uns_test.c
28 sudo $(LDPATH) ./quicktest.sh 27 $(MAKE) -C ../tests uns_test
29diff --git a/tests/Makefile b/tests/Makefile 28diff --git a/tests/Makefile b/tests/Makefile
30index 4a5f2f9..4266d86 100644 29index 4a5f2f9..4266d86 100644
31--- a/tests/Makefile 30--- a/tests/Makefile
@@ -48,3 +47,6 @@ index 4a5f2f9..4266d86 100644
48 47
49 clean: 48 clean:
50 rm -f psx_test libcap_psx_test libcap_launch_test uns_test *~ 49 rm -f psx_test libcap_psx_test libcap_launch_test uns_test *~
50--
512.25.1
52