summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-12-04 21:07:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-09 12:20:32 +0000
commit734755864931a54bac42e397cd409c4e9eb15b00 (patch)
tree640bce840ee2f57b3aa9471d566936b0d41f0073 /meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch
parent3fff576f6b1c6a6b26dd759b47b1aad5b4e2fb86 (diff)
downloadpoky-734755864931a54bac42e397cd409c4e9eb15b00.tar.gz
libcap: update 2.44 -> 2.45
(From OE-Core rev: 16c0d25df1fb2dc724c01bfe7be6ab42974ef0c9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch')
-rw-r--r--meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch b/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch
index bfce8e0547..69287152eb 100644
--- a/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch
+++ b/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch
@@ -1,4 +1,4 @@
1From 7744c1f678f5226a151bc6b2a254a56835229d91 Mon Sep 17 00:00:00 2001 1From 652071e430d5eea758965176b7648e79ad404daa Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 20 Dec 2019 16:54:05 +0100 3Date: Fri, 20 Dec 2019 16:54:05 +0100
4Subject: [PATCH] tests: do not run target executables 4Subject: [PATCH] tests: do not run target executables
@@ -11,20 +11,20 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 1 file changed, 2 deletions(-) 11 1 file changed, 2 deletions(-)
12 12
13diff --git a/tests/Makefile b/tests/Makefile 13diff --git a/tests/Makefile b/tests/Makefile
14index 8956d5d..d569650 100644 14index fc39fee..3431df9 100644
15--- a/tests/Makefile 15--- a/tests/Makefile
16+++ b/tests/Makefile 16+++ b/tests/Makefile
17@@ -27,13 +27,11 @@ sudotest: test run_libcap_launch_test run_libcap_launch_test 17@@ -59,13 +59,11 @@ endif
18 install: all
19 18
19 # unprivileged
20 run_psx_test: psx_test 20 run_psx_test: psx_test
21- $(LDPATH) ./psx_test 21- ./psx_test
22 22
23 psx_test: psx_test.c $(DEPS) 23 psx_test: psx_test.c $(DEPS)
24 $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBPSXLIB) 24 $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LINKEXTRA) $(LIBPSXLIB) $(LDFLAGS)
25 25
26 run_libcap_psx_test: libcap_psx_test 26 run_libcap_psx_test: libcap_psx_test
27- $(LDPATH) ./libcap_psx_test 27- ./libcap_psx_test
28 28
29 libcap_psx_test: libcap_psx_test.c $(DEPS) 29 libcap_psx_test: libcap_psx_test.c $(DEPS)
30 $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBCAPLIB) $(LIBPSXLIB) $(LDFLAGS) 30 $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LINKEXTRA) $(LIBCAPLIB) $(LIBPSXLIB) $(LDFLAGS)