diff options
Diffstat (limited to 'recipes-security/selinux/libselinux/0001-Fix-building-against-musl-and-uClibc-libc-libraries.patch')
-rw-r--r-- | recipes-security/selinux/libselinux/0001-Fix-building-against-musl-and-uClibc-libc-libraries.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/recipes-security/selinux/libselinux/0001-Fix-building-against-musl-and-uClibc-libc-libraries.patch b/recipes-security/selinux/libselinux/0001-Fix-building-against-musl-and-uClibc-libc-libraries.patch deleted file mode 100644 index 8308553..0000000 --- a/recipes-security/selinux/libselinux/0001-Fix-building-against-musl-and-uClibc-libc-libraries.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From 61bfcbffce32be51d712040c3f84293b78428184 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adam Duskett <Aduskett@gmail.com> | ||
3 | Date: Tue, 7 Apr 2020 13:53:05 -0700 | ||
4 | Subject: [PATCH] Fix building against musl and uClibc libc libraries. | ||
5 | |||
6 | Currently, the src/Makefile provides the FTS_LDLIBS when building against musl | ||
7 | or uClibc. However, this is missing from utils/Makefile, which causes linking | ||
8 | to fail. | ||
9 | |||
10 | Add the FTS_LDLIBS variable to the LDLIBS variable in utils/Makefile to fix | ||
11 | compiling against uClibc and musl. | ||
12 | |||
13 | Signed-off-by: Adam Duskett <Aduskett@gmail.com> | ||
14 | |||
15 | Upstream-Status: Backport | ||
16 | [https://github.com/SELinuxProject/selinux/commit/aa40067b7b86d5e4c951fccae1aa98baff148613] | ||
17 | |||
18 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
19 | --- | ||
20 | utils/Makefile | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/utils/Makefile b/utils/Makefile | ||
24 | index 3615063..a5632b7 100644 | ||
25 | --- a/utils/Makefile | ||
26 | +++ b/utils/Makefile | ||
27 | @@ -45,7 +45,7 @@ endif | ||
28 | |||
29 | override CFLAGS += -I../include -D_GNU_SOURCE $(DISABLE_FLAGS) $(PCRE_CFLAGS) | ||
30 | override LDFLAGS += -L../src | ||
31 | -override LDLIBS += -lselinux | ||
32 | +override LDLIBS += -lselinux $(FTS_LDLIBS) | ||
33 | PCRE_LDLIBS ?= -lpcre | ||
34 | |||
35 | ifeq ($(ANDROID_HOST),y) | ||
36 | -- | ||
37 | 2.7.4 | ||
38 | |||